From mboxrd@z Thu Jan 1 00:00:00 1970 From: "eric.valette@free.fr" To: glibc-bugs@sources.redhat.com Subject: [Bug nptl/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists Date: Tue, 16 Nov 2004 13:32:00 -0000 Message-id: <20041116133203.551.eric.valette@free.fr> X-SW-Source: 2004-11/msg00142.html List-Id: 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.