FreeBSD handles leapsecond correctly

Chuck Swiger cswiger at mac.com
Sun Jan 1 06:06:21 PST 2006


Luigi Rizzo wrote:
> On Sun, Jan 01, 2006 at 10:59:14AM +0100, Poul-Henning Kamp wrote:
>>http://phk.freebsd.dk/misc/leapsecond.txt
>>
>>Notice how CLOCK_REALTIME recycles the 1136073599 second.
> 
> on a related topic, any comments on this one ?
> Is this code that we could use ?
> 
> 	http://www.dragonflybsd.org/docs/nanosleep/

I ported the tvtohz change from Dragonfly back to 4.10 and 5-STABLE here:

http://www.pkix.net/~chuck/timer/

...so anyone who wants to experiment can try it out.  :-)

-- 
-Chuck


More information about the freebsd-current mailing list