summaryrefslogtreecommitdiff
path: root/rts/Timer.c
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-08-20 12:15:58 -0500
committerAustin Seipp <austin@well-typed.com>2014-08-20 12:15:58 -0500
commit514a6310281c1f810508115a41c25c02305f914e (patch)
treeba2577f4e52488d01cba4a4b96c9757bf9d945cb /rts/Timer.c
parentdea58def866e012130536397d318edafffcf5861 (diff)
downloadhaskell-514a6310281c1f810508115a41c25c02305f914e.tar.gz
rts: detabify/dewhitespace Timer.c
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/Timer.c')
-rw-r--r--rts/Timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/Timer.c b/rts/Timer.c
index c2c4caa035..2a229a48e6 100644
--- a/rts/Timer.c
+++ b/rts/Timer.c
@@ -8,7 +8,7 @@
/*
* The interval timer is used for profiling and for context switching in the
- * threaded build.
+ * threaded build.
*
* This file defines the platform-independent view of interval timing, relying
* on platform-specific services to install and run the timers.
@@ -45,7 +45,7 @@ handle_tick(int unused STG_UNUSED)
if (RtsFlags.ConcFlags.ctxtSwitchTicks > 0) {
ticks_to_ctxt_switch--;
if (ticks_to_ctxt_switch <= 0) {
- ticks_to_ctxt_switch = RtsFlags.ConcFlags.ctxtSwitchTicks;
+ ticks_to_ctxt_switch = RtsFlags.ConcFlags.ctxtSwitchTicks;
contextSwitchAllCapabilities(); /* schedule a context switch */
}
}
@@ -88,7 +88,7 @@ handle_tick(int unused STG_UNUSED)
}
// This global counter is used to allow multiple threads to stop the
-// timer temporarily with a stopTimer()/startTimer() pair. If
+// timer temporarily with a stopTimer()/startTimer() pair. If
// timer_enabled == 0 timer is enabled
// timer_disabled == N, N > 0 timer is disabled by N threads
// When timer_enabled makes a transition to 0, we enable the timer,