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/551] New: pthread_exit called on main thread immediately terminate the whole process even when other thread exists


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.


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