Daniel Gibson Wrote:

> > Synchronization can fail if the code asserts that number of seconds is not 
> > greater than 59 (Jonathan's lib does the same, I think). Is it the cause?
> 
> How are leap seconds handled on a computer anyway? Does the clock really 
> count 
> to 60 seconds (instead of 59) before the next minute starts, or is the clock 
> just slowed down a bit (like it's - IIRC - done when changing the time with 
> NTP 
> or such)?

This is how it looked on linux:

bash-2.05b# date 
Thu Jan 1 00:59:58 CET 2009 
bash-2.05b# date 
Thu Jan 1 00:59:59 CET 2009 
bash-2.05b# date 
Thu Jan 1 00:59:60 CET 2009 
bash-2.05b# date 
Thu Jan 1 01:00:00 CET 2009 
bash-2.05b# date 
Thu Jan 1 01:00:01 CET 2009 
bash-2.05b# 

Reply via email to