This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: strange bug in gettimeofday function
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 12 Feb 2007 07:11:07 -0500
- Subject: Re: strange bug in gettimeofday function
- References: <1562006224.20070211192014@gnu.org> <45CFD856.10106@gmail.com>
- Reply-to: cygwin at cygwin dot com
On Mon, Feb 12, 2007 at 11:00:38AM +0800, Carlo Florendo wrote:
>Andrew Makhorin wrote:
>>Hi,
>>
>>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.
>
>If you mean that you call gettimeofday twice and you get different
>values at each call, with a difference of about 100 ms, then this is all
>right. Read on...
As the author of the function in question, I would still like to get a
test case.
--
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/