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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.