Subject: Re: POSIX timer_settime() dosn't set timer in some cases (lost accuracy)
To: None <>
From: Jason Thorpe <>
List: tech-kern
Date: 09/01/2004 21:29:36
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Sep 1, 2004, at 7:41 PM, Frederick Bruckman wrote:

> Now, hzto() takes great care to round up, but the nano-second is lost
> before getting there in TIMESPEC_TO_TIMEVAL(). Should TS...TV always
> round up? It seems, with the present state of affairs, that any number
> of timers in the kernel could be firing slightly too early. There's no
> harm, ever, in a timer firing nanoseconds late (or later), is there?

Maybe if you're controlling spark plugs (well, ok, so you're not going 
to pop a hole in your piston if the timing is slightly retarded)... 
but, in any case, we're not, so no, I don't think there's any harm in 

         -- Jason R. Thorpe <>

content-type: application/pgp-signature; x-mac-type=70674453;
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

Version: GnuPG v1.2.3 (Darwin)