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


------- Additional Comments From jakub at redhat dot com  2004-09-23 08:32 -------
Your testcase invokes undefined behaviour.
See 
http://www.opengroup.org/onlinepubs/009695399/functions/pthread_cleanup_pop.html
The effect of the use of return, break, continue, and goto to prematurely leave a
code block described by a pair of pthread_cleanup_push() and
pthread_cleanup_pop() functions calls is undefined.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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]