diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-25 22:28:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-25 22:28:13 +0000 |
commit | 468777e1d0dbd6cb8bcaee244a954824d5c84167 (patch) | |
tree | aabd8c6a9e825ebaed65f3f6ddf7efb07f2e2109 /nptl/sysdeps/pthread | |
parent | f24dca48290e4a1c731fc0bee94bc9a1f891b3fa (diff) | |
download | glibc-468777e1d0dbd6cb8bcaee244a954824d5c84167.tar.gz glibc-468777e1d0dbd6cb8bcaee244a954824d5c84167.tar.xz glibc-468777e1d0dbd6cb8bcaee244a954824d5c84167.zip |
Update.
* pthread.c (__pthread_initialize_manager): Subtract TLS_PRE_TCB_SIZE bytes from tcbp to get to descr. * manager.c (pthread_handle_create): Subtract or add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). (pthread_free): Add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). * sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define to 0.
Diffstat (limited to 'nptl/sysdeps/pthread')
-rw-r--r-- | nptl/sysdeps/pthread/createthread.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c index f5c640607a..9d00e4e135 100644 --- a/nptl/sysdeps/pthread/createthread.c +++ b/nptl/sysdeps/pthread/createthread.c @@ -87,11 +87,7 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS) thread might not yet have the flag set. No need to set the global variable again if this is what we use. */ #ifdef TLS_MULTIPLE_THREADS_IN_TCB -# if TLS_DTV_AT_TP - p_multiple_threads (THREAD_SELF) = 1; -# else THREAD_SETMEM (THREAD_SELF, header.multiple_threads, 1); -# endif #endif /* Now fill in the information about the new thread in @@ -163,11 +159,7 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS) not yet have the flag set. No need to set the global variable again if this is what we use. */ #ifdef TLS_MULTIPLE_THREADS_IN_TCB -# if TLS_DTV_AT_TP - p_multiple_threads (THREAD_SELF) = 1; -# else THREAD_SETMEM (THREAD_SELF, header.multiple_threads, 1); -# endif #endif return 0; |