This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: pthread.h small problem
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/