diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-13 10:59:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-13 10:59:14 +0000 |
commit | 9ae0909b35bc7ed04897536cbf224f7e134b5184 (patch) | |
tree | aa669fa5f77206d19f065a05859b8c52032019ad /nptl/sysdeps/unix/sysv/linux/i386/createthread.c | |
parent | b9633fccd30c9cb390295ca0c43477f2bef986af (diff) | |
download | glibc-9ae0909b35bc7ed04897536cbf224f7e134b5184.tar glibc-9ae0909b35bc7ed04897536cbf224f7e134b5184.tar.gz glibc-9ae0909b35bc7ed04897536cbf224f7e134b5184.tar.bz2 glibc-9ae0909b35bc7ed04897536cbf224f7e134b5184.zip |
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.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/createthread.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/createthread.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |