mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 12:11:10 +00:00
484cc8018b
2004-12-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. Restore gp before calling _exit.
8 lines
311 B
Plaintext
8 lines
311 B
Plaintext
#include <sysdep.h>
|
|
#include <tls.h>
|
|
|
|
PID offsetof (struct pthread, pid) - sizeof (struct pthread)
|
|
TID offsetof (struct pthread, tid) - sizeof (struct pthread)
|
|
MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads) - sizeof (struct pthread)
|
|
SYSINFO_OFFSET offsetof (tcbhead_t, private)
|