Re: gettimeofday running backwards on 2.4.20

Daniel Phillips (phillips@arcor.de)
Fri, 25 Apr 2003 00:04:33 +0200


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/