mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +08:00
9f70985569
The pthread_atfork is similar between Linux and Hurd, only the compat version bits differs. The generic version is place at sysdeps/pthread with a common name. It also fixes an issue with Hurd license, where the static-only object did not use LGPL + exception. Checked on x86_64-linux-gnu, i686-linux-gnu, and with a build for i686-gnu.
5 lines
231 B
C
5 lines
231 B
C
/* The compat version for the dynamic pthread_atfork provided by libpthread,
|
|
before supported __dso_handle was added. */
|
|
#define PTHREAD_ATFORK_COMPAT_INTRODUCED GLIBC_2_12
|
|
#define PTHREAD_ATFORK_COMPAT_OBSOLETED GLIBC_2_23
|