This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/530] pthread_exit() makes the whole process exit if remaining threads were just created


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]