[Bug nptl/530] pthread_exit() makes the whole process exit if remaining threads were just created
cvs-commit@gcc.gnu.org
sourceware-bugzilla@sources.redhat.com
Tue Nov 9 21:53:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-09 21:52 -------
Subject: Bug 530
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2004-11-09 21:52:49
Modified files:
nptl : pthread_create.c
nptl/sysdeps/pthread: createthread.c
Log message:
2004-11-09 Roland McGrath <roland@redhat.com>
[BZ #530]
* sysdeps/pthread/createthread.c (do_clone): Increment __nptl_nthreads
here, before calling clone.
* pthread_create.c (start_thread): Don't do it here.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/pthread_create.c.diff?cvsroot=glibc&r1=1.38&r2=1.39
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/pthread/createthread.c.diff?cvsroot=glibc&r1=1.25&r2=1.26
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=530
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list