delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/13/12:34:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 13 Apr 2002 12:33:54 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gettime time travels after suspend
Message-ID: <20020413163354.GA7284@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <15561 DOT 26590 DOT 782158 DOT 717023 AT lineone DOT net>
Mime-Version: 1.0
In-Reply-To: <15561.26590.782158.717023@lineone.net>
User-Agent: Mutt/1.3.23.1i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019