pthread.h small problem

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Jun 2 20:16:00 GMT 2005


On Thu, Jun 02, 2005 at 12:52:56PM -0700, Shankar Unni wrote:
>Yuval Turgeman wrote:
>>Hi,
>>The pthread_cleanup_push and pthread_cleanup_pop macros seems to be
>>broken in the CVS (misplaced brackets).  I hope I'm not posting to the
>>wrong list, but here's the patch...
>
>I'm pretty sure the braces are placed like that *deliberately*, to force 
>you to bracket code with the two macros or get a syntax error.

correct.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list