diff options
Diffstat (limited to 'winsup/cygwin/timer.cc')
-rw-r--r-- | winsup/cygwin/timer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/timer.cc b/winsup/cygwin/timer.cc index a20e04b6e..0714eb160 100644 --- a/winsup/cygwin/timer.cc +++ b/winsup/cygwin/timer.cc @@ -66,7 +66,7 @@ timer_tracker::cancel () { if (!hcancel) return false; - + SetEvent (hcancel); if (WaitForSingleObject (syncthread, INFINITE) != WAIT_OBJECT_0) api_fatal ("WFSO failed waiting for timer thread, %E"); @@ -128,7 +128,7 @@ timer_thread (VOID *x) long long sleep_us; long sleep_ms; /* Account for delays in starting thread - and sending the signal */ + and sending the signal */ now = gtod.usecs (false); sleep_us = sleepto_us - now; if (sleep_us > 0) |