This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strange bug in gettimeofday function


Andrew Makhorin wrote:
I detected a strange bug in the standard function gettimeofday.
It *sometimes* reports the time which being expressed as the integer
number of milliseconds is *less* than the time obtained *earlier* with
the same function.

...how often is "often"? Also what version of Windows are you running (I'm too lazy to save and re-open your cygcheck, it seems Thunderbird doesn't think it is text)? And for the $64k question, do you use NTP?


I have seen this sort of behavior before (on Linux, IIRC, but it might have been Windows): it can be caused by NTP clock slew.

--
Matthew
Congratulations! You've won a free trip to the future! All you have to do to claim your prize is wait five minutes...



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]