[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_REALTIME?
On Tue, Jun 24, 2008 at 10:01 AM, Bart Van Assche
<> wrote:
> On Tue, Jun 24, 2008 at 7:39 AM, Michael Kerrisk
> <> wrote:
>> I'll add some text (not quite sure what yet) in the nanosleep() man
>> page on this point.
> You could e.g. mention that nanosleep() is neither affected by the
> settimeofday() system call

Thanks. Yes, that follows fairly naturally from the statement about

> nor by adjtimex() (this last one is used by
> ntpd).

That surprised me a little. So gradual adjustments to the time made
by adjtime() / adjtimex() really don't affect nanosleep()?

Michael Kerrisk
Linux man-pages maintainer;
man-pages online:
Found a bug?

 \ /
  Last update: 2008-06-24 10:31    [W:0.087 / U:2.832 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site