From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2006-12-08 04:42:14
Steven Watanabe wrote:
> I see no reason to require that a mutex be locked for notify.
> If you want to have it locked then you can just do so. Wait is different;
> it needs to release the lock first and upon notification reacquire it and
> check the predicate.
All you say is technically true, but there are other design
considerations which I explained in my other posts. That's not to say
that you are undoubtedly wrong. Many smart people agree with you and
disagree with me...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk