This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: hires_ms::usecs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]