diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-20 08:12:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-20 08:12:32 +0000 |
commit | 58d2d09bde3578bd25d55df03e962764ba81bd13 (patch) | |
tree | a81e5d97ffe5a9b3be7ae44e18a314f78ffa880a /linuxthreads/pthread.c | |
parent | 9a1eb38e4e9319036f37c1efbf5288a169e23324 (diff) | |
download | glibc-58d2d09bde3578bd25d55df03e962764ba81bd13.zip glibc-58d2d09bde3578bd25d55df03e962764ba81bd13.tar.gz glibc-58d2d09bde3578bd25d55df03e962764ba81bd13.tar.bz2 |
Update.
* sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r-- | linuxthreads/pthread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index c43176c..b0ef7fb 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -623,7 +623,8 @@ int __pthread_initialize_manager(void) #ifdef USE_TLS /* Allocate memory for the thread descriptor and the dtv. */ - __pthread_handles[1].h_descr = manager_thread = tcb = _dl_allocate_tls (); + __pthread_handles[1].h_descr = manager_thread = tcb + = _dl_allocate_tls (NULL); if (tcb == NULL) { free(__pthread_manager_thread_bos); __libc_close(manager_pipe[0]); |