[lkml]   [1999]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: gettimeofday() a special case : why?

> >Dosemu does this now on single cpu systems.
> Are you sure it's 100% reliable over the time, monotone and with a
> picosecond precision and that such way can be extended to SMP?
> >gettimeofday always returns a time recently in the past.
> 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 :-).

I'm "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean