aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-15 11:24:42 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-15 11:24:42 +0000
commit0d5f4929fe3cfb08225d8762a047c9661fcf8712 (patch)
tree520a853c054247e1fd85748e42e6b2d78e65fb6f /nptl
parent6ee8d3345646ab0bea91891362a2bbf15503edec (diff)
downloadglibc-0d5f4929fe3cfb08225d8762a047c9661fcf8712.tar
glibc-0d5f4929fe3cfb08225d8762a047c9661fcf8712.tar.gz
glibc-0d5f4929fe3cfb08225d8762a047c9661fcf8712.tar.bz2
glibc-0d5f4929fe3cfb08225d8762a047c9661fcf8712.zip
Update.
* sysdeps/unix/sysv/linux/libc_fatal.c: New file.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/createthread.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 2296c17803..7dc9523530 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
2002-12-15 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Set
+ multiple_threads member in correct TCB to 1.
+
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Define
SINGLE_THREAD_P. If in libc or libpthread examine multiple_thread
member of thread decriptor, otherwise return unconditionally 1.
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c
index f9abce2df2..be2ca829ab 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c
+++ b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c
@@ -146,7 +146,7 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS)
return errno;
/* We now have for sure more than one thread. */
- pd->header.data.multiple_threads = 1;
+ THREAD_SETMEM (THREAD_SELF, header.data.multiple_threads, 1);
return 0;
}