[Patch]: hires_ms::usecs

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Sun Mar 27 23:58:00 GMT 2005


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



More information about the Cygwin-patches mailing list