This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [Patch]: hires_ms::usecs
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 27 Mar 2005 18:58:44 -0500
- Subject: Re: [Patch]: hires_ms::usecs
- References: <3.0.5.32.20050327151900.00b60730@incoming.verizon.net>
- Reply-to: cygwin-patches at cygwin dot com
On Sun, Mar 27, 2005 at 03:19:00PM -0500, Pierre A. Humblet wrote:
>The old test below will only detect the wraparound when "now" is
>in the interval [0, inittime_ms), so it's likely to miss if
>inittime_ms is very small (e.g. daemon starting at reboot).
>
>With the new test, the wraparound will be detected if the function
>is called at any time between the 25th and 49th day after startup.
>
>2005-03-27 Pierre Humblet <pierre.humblet@ieee.org>
>
> *times.cc (hires_ms::usecs): Compare the difference.
Applied.
Thanks.
cgf