summaryrefslogtreecommitdiff
path: root/rts/Capability.h
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-11-06 16:08:10 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-11-06 16:08:10 +0000
commitd15cb49d6fe600090fac7c56805ee4b13f4aaa47 (patch)
tree9e6d2f01615d483788a8fd562716e7995daf9099 /rts/Capability.h
parenta650cec6aebe5be3706f6aef603bd27a5c0ec1f0 (diff)
downloadhaskell-d15cb49d6fe600090fac7c56805ee4b13f4aaa47.tar.gz
re-instate counting of sparks converted
lost in patch "Run sparks in batches"
Diffstat (limited to 'rts/Capability.h')
-rw-r--r--rts/Capability.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Capability.h b/rts/Capability.h
index 07b8838221..db9e1e3afd 100644
--- a/rts/Capability.h
+++ b/rts/Capability.h
@@ -245,9 +245,9 @@ void shutdownCapability (Capability *cap, Task *task, rtsBool wait_foreign);
//
rtsBool tryGrabCapability (Capability *cap, Task *task);
-// Try to steal a spark from other Capabilities
+// Try to find a spark to run
//
-StgClosure *stealWork (Capability *cap);
+StgClosure *findSpark (Capability *cap);
// True if any capabilities have sparks
//