Subject: Re: POSIX timer_settime() doesn't set timer in some cases (lost accuracy)
To: Nathan J. Williams <>
From: Ian Zagorskih <>
List: tech-kern
Date: 09/02/2004 23:04:37
On Thursday 02 September 2004 22:25, Nathan J. Williams wrote:
> Frederick Bruckman <> writes:
> > Well, I'm running X and listening to streaming audio with this...
> I'm a little dubious about this, because there are a bunch of uses of
> TIMESPEC_TO_TIMEVAL(), most of which don't seem to care about whether
> the value being zero. I think that property is specific to
> timer_settime().

Maybe at least sys_timer_settime() should take care about it ? This shouldn't 
be hard to add this check.. On the other hand, this simple trick potentially 
would save some [semi]broken code from unexpected failure.

// wbr