Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-04-17 08:53:01


the documentation of boost::thread::condition::timed_wait doesn't state what happens when xt is in the past. There are three possibilities:

1. Always return false immediately because xt is already reached.
2. Immediately return true if the condition is signalled and false otherwise, like a poll operation.
3. Undefined behaviour.

How is it supposed to work?

TIA, Markus

Boost list run by bdawes at, gregod at, cpdaniel at, john at