[Bug nptl/13165] pthread_cond_wait() can consume a signal that was sent before it started waiting

bugdal at aerifal dot cx sourceware-bugzilla@sourceware.org
Wed Sep 28 02:07:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=13165

--- Comment #11 from Rich Felker <bugdal at aerifal dot cx> 2011-09-28 02:06:54 UTC ---
I've confirmed that the issue occurs on my Debian system with their libc6
package (eglibc 2.13-10, albeit slightly different from glibc). I've also
confirmed that the issue does not occur with my implementation of condition
variables in musl libc(*). I suspect it's a real bug, but I need to read the
code more closely to understand what's going on...

(*) I've converted the test to C (just replaced cout with printf) so I can run
it without C++ support. I'm attaching the modified version.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list