Actually, the macro is written like this on purpose.
pthread_cleanup_push starts a do while loop that is terminated by the
pthread_cleanup_pop macro. In between the two macros, you can add your
own code that will get executed in the body of the do-while. Check out
http://www.devdaily.com/unix/man/man3/pthread_cleanup_pop.3thr.shtml for
more info.

** Changed in: ubuntu
       Status: New => Invalid

-- 
pthread cleanup macros are broken
https://bugs.launchpad.net/bugs/480857
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to