12 Aug
2008
12 Aug
'08
4:02 p.m.
On Mon, Aug 11, 2008 at 10:57:23PM +0300, Peter Dimov wrote:
Oops. The queue is empty. So C does sleep, awaiting a push. Why is this a problem?
Not a problem in this particular case. A more elaborate example of what can easily go wrong with signaling outside of critical section: http://groups.google.com/group/comp.programming.threads/browse_thread/thread...