On Nov 6, 2007, at 4:08 PM, Gary Wright wrote: > On Nov 6, 2007, at 3:48 PM, MenTaLguY wrote: >> I think this is arguably a bug in the scheduler, but it is not >> easy to remedy in a portable way. > > I'd be curious to even see a non-portable way to do this. I just > think that the Unix/Posix semantics of time/timers basically > assumes monotonically increasing ticks. Maybe I spoke to quickly. I guess it depends on the types of timers provided by the OS. You would have to use something other than a real-time clock timer. I'm not sure what semantics the various Posix timers and/or OS-specific timers have with respect to the system clock changing. Gary Wright