[Bug nptl/12875] pthread_cond_timedwait can steal the wakeup of slower thread in pthread_cond_wait
jakub at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Sep 19 06:24:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=12875
Jakub Jelinek <jakub at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
--- Comment #8 from Jakub Jelinek <jakub at redhat dot com> 2012-09-19 06:23:24 UTC ---
(In reply to comment #7)
> I admit the test case is poorly written and rather obfuscated, but I believe
> that it is showing a bug of this nature. Contrary to yours and Mr. Dreppers
> characterizations, this is NOT A FAIRNESS ISSUE. No complaint about fairness
> has been made by myself or the original poster of the bug. If the bug really
> exists in the described form -- and it seems to me that it does, although I'd
> like to find a simpler test case -- then it's an issue of the interface
> violating its contract.
The testcase doesn't show anything like that, there are absolutely no
guarantees that the usleeps result in whatever ordering of events in the
threaded program.
--
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