This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists
- From: "eric dot valette at free dot fr" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Nov 2004 13:32:07 -0000
- Subject: [Bug nptl/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
The following program works fine with with linuxThread pthread implementation
but not with the nptl pthread implementation. Reading the man page, pthread_exit
should not kill the process until the last thread exited.
Rationale : the way the main thread is created is unkwon, so it is better for MT
application to destroy the main thread (and free the assocaited ressources).
--
Summary: pthread_exit called on main thread immediately terminate
the whole process even when other thread exists
Product: glibc
Version: 2.3.3
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: eric dot valette at free dot fr
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: linux-i486
GCC host triplet: linux-i486
GCC target triplet: linux-i486
http://sources.redhat.com/bugzilla/show_bug.cgi?id=551
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.