mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-12-13 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (log_cleanup): Don't use parameter in __libc_lock_unlock call, use syslog_lock directly. Adjust callers to pass NULL instead of a pointer to syslog_lock.
This commit is contained in:
@ -272,6 +272,9 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
|
||||
/* This is a user-provided stack. */
|
||||
pd->user_stack = true;
|
||||
|
||||
/* There is at least one more thread. */
|
||||
pd->header.data.multiple_threads = 1;
|
||||
|
||||
/* Allocate the DTV for this thread. */
|
||||
if (_dl_allocate_tls (pd) == NULL)
|
||||
/* Something went wrong. */
|
||||
@ -337,6 +340,9 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
|
||||
/* Initialize the lock. */
|
||||
pd->lock = LLL_LOCK_INITIALIZER;
|
||||
|
||||
/* There is at least one more thread. */
|
||||
pd->header.data.multiple_threads = 1;
|
||||
|
||||
/* Allocate the DTV for this thread. */
|
||||
if (_dl_allocate_tls (pd) == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user