summaryrefslogtreecommitdiff
path: root/rts/Capability.h
diff options
context:
space:
mode:
authorberthold@mathematik.uni-marburg.de <unknown>2008-08-19 15:18:42 +0000
committerberthold@mathematik.uni-marburg.de <unknown>2008-08-19 15:18:42 +0000
commit4753cf734c79ad196ef4411393a1516465302f71 (patch)
tree01c3eebcf2cdb3eff3a40235cf77031edd46ee5e /rts/Capability.h
parent297b05a9c9a27175e25cb8ec7b60dde51bfafbf3 (diff)
downloadhaskell-4753cf734c79ad196ef4411393a1516465302f71.tar.gz
Capability stopping when waiting for GC
Diffstat (limited to 'rts/Capability.h')
-rw-r--r--rts/Capability.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/Capability.h b/rts/Capability.h
index 959ab50b3e..f13afe2117 100644
--- a/rts/Capability.h
+++ b/rts/Capability.h
@@ -162,6 +162,9 @@ extern Capability *capabilities;
//
extern Capability *last_free_capability;
+// GC indicator, in scope for the scheduler
+extern volatile StgWord waiting_for_gc;
+
// Acquires a capability at a return point. If *cap is non-NULL, then
// this is taken as a preference for the Capability we wish to
// acquire.