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/884] There is error in nptl's nptl/pthreadP.h header file


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]