glibc/sysdeps/htl/pthread_atfork_compat.h
Adhemerval Zanella 9f70985569 Consolidate pthread_atfork
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.
2021-06-24 10:04:41 -03:00

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