I am busy implementing some heartbeat monitoring code between two
machines. The spec calls for a 1 second recovery.

Paul,

Try using clock() instead of gettimeofday_in_millisecs(). The former
nicely increments with CLOCKS_PER_SEC resolution and is immune
from UTC, timezones, and leap seconds. At least it does on windows.
Can someone comment on unix/linux?

/tvb


_______________________________________________
LEAPSECS mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/leapsecs

Reply via email to