mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
eec0ca9f25
(SINGLE_THREAD): Use `header' prefix instead of `header.data'. * sysdeps/sh/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise. * sysdeps/sh/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (SINGLE_THREAD_P): Use `header.' prefix. * sysdeps/ia64/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise.
6 lines
156 B
Plaintext
6 lines
156 B
Plaintext
#include <sysdep.h>
|
|
#include <tls.h>
|
|
|
|
MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
|
|
TLS_PRE_TCB_SIZE sizeof (struct pthread)
|