|
Boost Users : |
From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2008-08-12 12:02:46
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/23dd5883dc36d14a?tvc=2
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net