|
Boost : |
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2007-11-29 10:03:50
Anthony Williams wrote:
[...]
> system clock being changed during a wait. Also, you've still got to wake the
> waiting threads. You could do this with a manual-reset event, but how do you
> know to reset it?
You can extend predicates for timed waits with clock change event count
atomic and simply broadcast the condvars (after lock-unlock of
associated mutexes) on clock change.
regards,
alexander.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk