Subj : Re: usage of time() for timeout handling To : comp.arch.embedded,comp.programming From : Randy Howard Date : Wed Jul 27 2005 11:38 pm Willem wrote (in article ): > David wrote: >> Hi gurus, >> I'm having some modules, that use time() for determine if a given activity >> has timed out. As the operating system time will be updated periodically >> with the time or the RTC chip, it is possible that the result of two calls > > A good operating system will not 'jump' the OS clock to the correct > time, it will slow down or speed up the OS clock so that it will match > the correct timeafter a while. (Unless the jump is too great, in which > case it will do it at once, but with a warning in a log file of some sort.) windows, linux and OS X must all be "not good" then. Which I won't dispute. :-) -- Randy Howard (2reply remove FOOBAR) .