Aaron Denney wnoise at ofb.net
Wed Jan 26 15:18:00 EST 2005

On 2005-01-26, Marcin 'Qrczak' Kowalczyk <qrczak at knm.org.pl> wrote:
> Keean Schupke <k.schupke at imperial.ac.uk> writes:
>> Yes timing between point in time should be independant of leap
>> seconds, so if a program, takes 5 seconds to run it should always
>> take 5 seconds, even if it runs accross midnight.
> How would you implement it, given that gettimeofday() and other Unix
> calls which return the current time either gradually slow down near a
> leap second (if NTP is used to synchronize clocks) or the clock is not
> adjusted at all, and at the next time it is set it will just be on
> average one second later (if it is being set manually)?

There are patches around that let various systems communicate using NTP
and UTC, but keep time internally as TAI, and ignore POSIX.

We can't preserve nice properties when people reset things manually.  So
I don't consider that an error.

Aaron Denney

More information about the Libraries mailing list