[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell
Subject:    [Haskell] Non-drifting clock, anyone?
From:       ihope <ihope127 () gmail ! com>
Date:       2006-07-31 23:15:45
Message-ID: 7db5cba20607311615p1b03007g8ab62e71aa4ca927 () mail ! gmail ! com
[Download RAW message or body]

Here it is, in all its greatly untested glory: http://pastebin.ca/109242

I don't know how much error it has, but the error won't stack up: if
it's one second off, it will remain one second off until the end of
time, or until your system clock drifts. But system clock drifts will
be fixed by synchronizing your system clock with the outside world,
except that if your clock jumps forward, this one will suddenly tick
like mad, and if it jumps backward, this one will stop for a while...
oh well.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic