lkml.org 
[lkml]   [1999]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: gettimeofday() a special case : why?
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.043 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site