
29 Nov
2007
29 Nov
'07
3:03 p.m.
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.