This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: gettime time travels after suspend
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 13 Apr 2002 12:33:54 -0400
- Subject: Re: gettime time travels after suspend
- References: <15561.26590.782158.717023@lineone.net>
- Reply-to: cygwin at cygwin dot com
On Fri, Apr 26, 2002 at 03:44:46PM +0100, Philip Aston wrote:
>
>
>I have a running process which prints out the result of gettimeofday()
>at regular intervals. If I suspend and resume my machine then the
>value returned by gettimeofday() is incorrect - it jumps several days
>into the future. Doing the same with time() is fine.
>
>I don't want to point fingers, but I suspect the following 1.3.10
>change:
> - Use QueryPerformance* functions for gettimeofday calls. (cgf)
Patches gratefully accepted.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/