This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/530] pthread_exit() makes the whole process exit if remaining threads were just created
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Nov 2004 21:52:58 -0000
- Subject: [Bug nptl/530] pthread_exit() makes the whole process exit if remaining threads were just created
- References: <20041109173407.530.gmorin1@bloomberg.net>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- 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.