This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/400] New: "return V;" and "pthread_exit(V) ;" don't behave the same way.
- From: "sebastien dot decugis at ext dot bull dot net" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Sep 2004 08:20:39 -0000
- Subject: [Bug nptl/400] New: "return V;" and "pthread_exit(V) ;" don't behave the same way.
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
As POSIX standard requires "return V;" in a thread make an implicit call to
"pthread_exit(V);" -- see pthread_exit() reference --, the behavior is
different. For example, pthread_exit() will call the cancelation cleanup
handlers which are pending (this is required by POSIX) whereas return won't.
--
Summary: "return V;" and "pthread_exit(V) ;" don't behave the
same way.
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: sebastien dot decugis at ext dot bull dot net
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=400
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.