Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-06-10 14:14:41


Jody Hagins wrote:
> Notice one obvious issue: notify_one() and notify_all() still go
> through
> the native CV code to ping potential waiting threads. However,
> without significant change to the current implementation of
> condition, I do not see an easy way to prevent this.

How is a condition variable supposed to behave when used with a null mutex?
Is this a legitimate use case?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk