mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00: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
230 B
C
5 lines
230 B
C
/* The compat versions for the dynamic pthread_atfork provided by libpthread,
|
|
before supported __dso_handle was added. */
|
|
#define PTHREAD_ATFORK_COMPAT_INTRODUCED GLIBC_2_0
|
|
#define PTHREAD_ATFORK_COMPAT_OBSOLETED GLIBC_2_3
|