Boost logo

Boost :

From: Howard Hinnant (howard.hinnant_at_[hidden])
Date: 2007-08-24 17:22:19


The current boost::condition::wait(lock) throws if lock.locked()
returns false. To people view this as a recoverable run time error?
Or a debug feature that should not be present in release builds?

I.e. if lock.locked() (lock.owns() or lock.holds_mutex() or whatever)
returns false, is that undefined or defined behavior?

-Howard


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