summaryrefslogtreecommitdiff
path: root/rts/Capability.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-10-12 15:31:17 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-10-25 08:40:26 +0100
commit820134a0d80d54d218742d35453903d0348b279f (patch)
treebcb2555cda6502ffd96b9fb2f14c167706b01111 /rts/Capability.c
parent0b3811c093736950c1d2757fb12dba60f9bf97ca (diff)
downloadhaskell-820134a0d80d54d218742d35453903d0348b279f.tar.gz
remove unused sched_shutting_down
Diffstat (limited to 'rts/Capability.c')
-rw-r--r--rts/Capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Capability.c b/rts/Capability.c
index 4c33115ca5..d02c34d311 100644
--- a/rts/Capability.c
+++ b/rts/Capability.c
@@ -842,7 +842,7 @@ tryGrabCapability (Capability *cap, Task *task)
* allow the workers to stop.
*
* This function should be called when interrupted and
- * shutting_down_scheduler = rtsTrue, thus any worker that wakes up
+ * sched_state = SCHED_SHUTTING_DOWN, thus any worker that wakes up
* will exit the scheduler and call taskStop(), and any bound thread
* that wakes up will return to its caller. Runnable threads are
* killed.