mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
d4f64e1ad7
* allocatestack.c (allocate_stack) [!TLS_MULTIPLE_THREADS_IN_TCB]: Instead of setting PD->multiple_threads, set globals __pthread_multiple_threads and __libc_multiple_threads. * sysdeps/pthread/createthread.c (create_thread): Likewise. * sysdeps/i386/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define it. * sysdeps/s390/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Likewise. * descr.h (struct pthread): Conditionalize first member on [!TLS_DTV_AT_TP]. Replace the `header' member with an anonymous union containing an anonymous tcbhead_t. Move `list' member out. [TLS_MULTIPLE_THREADS_IN_TCB]: Define a `multiple_threads' member. * allocatestack.c: Remove use of `header.data.' prefix. * pthread_create.c: Likewise. * init.c (__pthread_initialize_minimal_internal): Likewise. * sysdeps/pthread/createthread.c (create_thread): Likewise. * sysdeps/i386/tls.h (INSTALL_DTV): Add parens. (THREAD_SELF, THREAD_DTV, INSTALL_NEW_DTV): No `header.data.' prefix. * sysdeps/x86_64/tls.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/i386/tls.h (tcbhead_t): Remove `list' member. * sysdeps/s390/tls.h (tcbhead_t): Likewise. |
||
---|---|---|
.. | ||
bits | ||
createthread.c | ||
fork.c | ||
libc-lowlevellock.S | ||
libc-lowlevelmutex.S | ||
lowlevel-atomic.h | ||
lowlevellock.h | ||
lowlevellock.S | ||
lowlevelmutex.S | ||
lowlevelrwlock.h | ||
pt-initfini.c | ||
pt-vfork.S | ||
pthread_barrier_wait.S | ||
pthread_cond_broadcast.S | ||
pthread_cond_signal.S | ||
pthread_cond_timedwait.S | ||
pthread_cond_wait.S | ||
pthread_once.S | ||
pthread_rwlock_rdlock.S | ||
pthread_rwlock_timedrdlock.S | ||
pthread_rwlock_timedwrlock.S | ||
pthread_rwlock_unlock.S | ||
pthread_rwlock_wrlock.S | ||
sem_post.S | ||
sem_timedwait.S | ||
sem_trywait.S | ||
sem_wait.S | ||
sysdep-cancel.h |