summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/timer.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-02 03:50:11 +0000
committerChristopher Faylor <me@cgf.cx>2005-05-02 03:50:11 +0000
commit05726ddd86c1421add510d5e8395cf7e3ac378f3 (patch)
treee7a339d3b7773fee264eb134e3acfb1ca87877f2 /winsup/cygwin/timer.cc
parentb9b1b38358983f564e48ced1a9a599698e1be36f (diff)
downloadcygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.gz
cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.bz2
cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.zip
white space and minor comment cleanup.
Diffstat (limited to 'winsup/cygwin/timer.cc')
-rw-r--r--winsup/cygwin/timer.cc4
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)