From 58d2d09bde3578bd25d55df03e962764ba81bd13 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 20 Aug 2002 08:12:32 +0000 Subject: Update. * sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit. --- linuxthreads/pthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linuxthreads/pthread.c') diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index c43176c40f..b0ef7fb1be 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]); -- cgit v1.2.1