Re: gettimeofday() a special case : why?

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Wed, 15 Dec 1999 15:13:45 +0100


Pavel Machek wrote:
> > It's not a matter of recently in the past, but it must be _monotone_. If
> > you only lose coherency between tv_sec and tv_usec you can just have a TOD
> > that goes back instead of forward or equal sometime.
>
> Ok, so you just check for monotony in userspace and fix it if it is
> not :-).

You still need an efficient way to ensure monotonicity between different
threads perhaps on different CPUs.

-- Jamie

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