mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-01 17:30:07 +00:00
d0369fb8a9
2003-03-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/tls.h [__ASSEMBLER__]: Include tcb-offsets.h. * sysdeps/x86_64/tcb-offsets.sym: New file. * sysdeps/x86_64/Makefile: New file. * sysdeps/i386/tcb-offsets.sym: Add SELF. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Use SELF to access own pthread_t in TCB. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h (pthread_cond_t): Add padding.
7 lines
181 B
Plaintext
7 lines
181 B
Plaintext
#include <sysdep.h>
|
|
#include <tls.h>
|
|
|
|
SELF offsetof (tcbhead_t, self)
|
|
CLEANUP offsetof (struct pthread, cleanup)
|
|
CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev)
|