Re: [PATCH 0/3] Cleanup ADJ_SETOFFSET patch

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Richard Cochran
Date: Tuesday, December 28, 2010 - 6:36 am

On Tue, Dec 28, 2010 at 01:53:32PM +0100, Richard Cochran wrote:

Okay, now I think I get it.

The value of a timespec is the sum of its fields. The tv_nsec field
should always be non-negative.

So, if a user space program wants to jump the clock back by one-tenth
second, it must pass a timespec with value {-1,900000000}.

Right?

Thanks,
Richard
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] Cleanup ADJ_SETOFFSET patch, John Stultz, (Mon Dec 27, 4:40 pm)
Re: [PATCH 0/3] Cleanup ADJ_SETOFFSET patch, Richard Cochran, (Tue Dec 28, 4:20 am)
Re: [PATCH 0/3] Cleanup ADJ_SETOFFSET patch, Richard Cochran, (Tue Dec 28, 5:53 am)
Re: [PATCH 0/3] Cleanup ADJ_SETOFFSET patch, Richard Cochran, (Tue Dec 28, 6:36 am)