Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 1995 14:55:38 -0500
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Marino.Ladavac@aut.alcatel.at (Marino Ladavac)
Cc:        hackers@FreeBSD.org
Subject:   Leap seconds
Message-ID:  <9501111955.AA15238@halloran-eldar.lcs.mit.edu>
In-Reply-To: <9501111907.AA01667@aut.alcatel.at>
References:  <9501111907.AA01667@aut.alcatel.at>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 11 Jan 1995 20:07:40 +0100 (MET), Marino.Ladavac@aut.alcatel.at (Marino Ladavac) said:

> 	what are the leap seconds, and what happens with them?

> 	Most importantly, if a leap second occurs, does the
> 	tv_secs get incremented or not?

That depends on whether you are running NTP or not.  See the code in
kern_clock.c which implements the NTP PLL for how NTP handles it.  In
the absence of a synchronization protocol like NTP which can notify
the kernel of upcoming leap second insertions or deletions, there is
nothing that an be done automatically.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501111955.AA15238>