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/400] New: "return V;" and "pthread_exit(V) ;" don't behave the same way.


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.


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