This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/884] There is error in nptl's nptl/pthreadP.h header file
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Apr 2005 09:25:18 -0000
- Subject: [Bug nptl/884] There is error in nptl's nptl/pthreadP.h header file
- References: <20050428085204.884.baz@irc.msk.ru>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2005-04-28 09:25 -------
You are wrong. First read
http://www.opengroup.org/onlinepubs/009695399/functions/pthread_cleanup_pop.html
to see what they are actually supposed to do, particularly:
These functions may be implemented as macros. The application shall ensure
that they appear as statements, and in pairs
within the same lexical scope (that is, the pthread_cleanup_push() macro may
be thought to expand to a token list whose
first token is '{' with pthread_cleanup_pop() expanding to a token list
whose last token is the corresponding '}' ).
Both macros must use the same local _buffer variable.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=884
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.