From: Pete Becker (petebecker_at_[hidden])
Date: 2002-07-02 09:04:01
At 03:44 PM 7/2/2002 +0200, Johan Nilsson wrote:
>What I meant was, if the system time
>changes during sleep, verifying the sleep by using absolute time (e.g.
>xtime_get(... TIME_UTC)) still has got a chance of failing. Even if it would
>be possible to check the clock period and rounding up the sleep time to the
>nearest multiple of that.
Right: that's another aspect of the jitter problem. The simplest solution
here is brute force: loop until the sleep comes out right.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk