* times.cc (hires_ms::usecs): Don't overreact.
This commit is contained in:
parent
fbd5a0b8da
commit
78c6a5b53a
|
@ -1,3 +1,7 @@
|
||||||
|
2004-06-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* times.cc (hires_ms::usecs): Don't overreact.
|
||||||
|
|
||||||
2004-06-30 Corinna Vinschen <corinna@vinschen.de>
|
2004-06-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* times.cc (hires_ms::usecs): Reinit timer when system time overflows.
|
* times.cc (hires_ms::usecs): Reinit timer when system time overflows.
|
||||||
|
|
|
@ -658,7 +658,7 @@ hires_ms::usecs (bool justdelta)
|
||||||
if (!minperiod) /* NO_COPY variable */
|
if (!minperiod) /* NO_COPY variable */
|
||||||
prime ();
|
prime ();
|
||||||
DWORD now = timeGetTime ();
|
DWORD now = timeGetTime ();
|
||||||
if (now <= initime_ms)
|
if (now < initime_ms)
|
||||||
{
|
{
|
||||||
inited = 0;
|
inited = 0;
|
||||||
prime ();
|
prime ();
|
||||||
|
|
Loading…
Reference in New Issue