Re: gettimeofday running backwards on 2.4.20

From: Daniel Phillips (phillips@arcor.de)
Date: Thu Apr 24 2003 - 17:04:33 EST


On Thu 24 Apr 03 23:41, Jamie Lokier wrote:
> Daniel Phillips wrote:
> > Applications like games (but not only games) can get pretty messed up by
> > a timeofday that jumps backwards every couple of seconds.
>
> It's a foolish game that doesn't implement your monotonicity algorithm
> itself...

Maybe so, but on the other hand, game authors could, with some justification,
accuse kernel developers of being the foolish ones.

There is already code in there that is supposed to fix up the timer: it
doesn't work very well.

I wonder if SUS or whatnot has anything to say about gettimeofday being
monotonic, so long as the user does not change the time.

Regards,

Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:18 EST