mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 08:40:07 +00:00
f23673fc71
2004-12-15 Jakub Jelinek <jakub@redhat.com> * nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def, not libnsl_hidden_proto. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save and restore r2 around call to fn.
7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
#include <sysdep.h>
|
|
#include <tls.h>
|
|
|
|
MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
|
|
PID offsetof (struct pthread, pid)
|
|
TID offsetof (struct pthread, tid)
|