From 9ae0909b35bc7ed04897536cbf224f7e134b5184 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 13 Dec 2002 10:59:14 +0000 Subject: Update. 2002-12-13 Ulrich Drepper * 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. --- nptl/sysdeps/unix/sysv/linux/i386/createthread.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nptl/sysdeps/unix/sysv/linux/i386/createthread.c') diff --git a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c index fc252e185d..f9abce2df2 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c +++ b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c @@ -82,6 +82,9 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS) /* Failed. */ return errno; + /* We now have for sure more than one thread. */ + pd->header.data.multiple_threads = 1; + /* Now fill in the information about the new thread in the newly created thread's data structure. We cannot let the new thread do this since we don't know whether it was @@ -142,5 +145,8 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS) /* Failed. */ return errno; + /* We now have for sure more than one thread. */ + pd->header.data.multiple_threads = 1; + return 0; } -- cgit v1.2.3-70-g09d2