1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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:
Ulrich Drepper
2002-12-13 10:59:14 +00:00
parent b9633fccd3
commit 9ae0909b35
22 changed files with 312 additions and 77 deletions

View File

@ -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)
{