mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
* sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit.
This commit is contained in:
@ -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]);
|
||||
|
Reference in New Issue
Block a user