Menu

#3 Fix time glitches when system time changes (e.g. by NTP)

0.5
open
nobody
None
2013-06-13
2013-06-13
No

Substitute gettimeofday() with the clock_gettime(CLOCK_MONOTONIC, ) for the systems where this functionality is present. I think one should check _POSIX_MONOTONIC_CLOCK macro for availability of it.

Discussion


Log in to post a comment.