public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists
@ 2004-11-16 13:32 eric.valette@free.fr
2004-11-16 13:33 ` [Bug nptl/551] " eric.valette@free.fr
2004-11-16 14:29 ` jakub@redhat.com
0 siblings, 2 replies; 3+ messages in thread
From: eric.valette@free.fr @ 2004-11-16 13:32 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug nptl/551] pthread_exit called on main thread immediately terminate the whole process even when other thread exists
2004-11-16 13:32 [Bug nptl/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists eric.valette@free.fr
@ 2004-11-16 13:33 ` eric.valette@free.fr
2004-11-16 14:29 ` jakub@redhat.com
1 sibling, 0 replies; 3+ messages in thread
From: eric.valette@free.fr @ 2004-11-16 13:33 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From eric dot valette at free dot fr 2004-11-16 13:33 -------
Created an attachment (id=284)
--> ( http://sources.redhat.com/bugzilla/attachment.cgi?id=284&action=view )
program exibitting faulty behavior
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug nptl/551] pthread_exit called on main thread immediately terminate the whole process even when other thread exists
2004-11-16 13:32 [Bug nptl/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists eric.valette@free.fr
2004-11-16 13:33 ` [Bug nptl/551] " eric.valette@free.fr
@ 2004-11-16 14:29 ` jakub@redhat.com
1 sibling, 0 replies; 3+ messages in thread
From: jakub@redhat.com @ 2004-11-16 14:29 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2004-11-16 14:29 -------
*** This bug has been marked as a duplicate of 530 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-16 14:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-16 13:32 [Bug nptl/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists eric.valette@free.fr
2004-11-16 13:33 ` [Bug nptl/551] " eric.valette@free.fr
2004-11-16 14:29 ` jakub@redhat.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).