diff options
author | berthold@mathematik.uni-marburg.de <unknown> | 2008-08-19 15:18:42 +0000 |
---|---|---|
committer | berthold@mathematik.uni-marburg.de <unknown> | 2008-08-19 15:18:42 +0000 |
commit | 4753cf734c79ad196ef4411393a1516465302f71 (patch) | |
tree | 01c3eebcf2cdb3eff3a40235cf77031edd46ee5e /rts/Capability.h | |
parent | 297b05a9c9a27175e25cb8ec7b60dde51bfafbf3 (diff) | |
download | haskell-4753cf734c79ad196ef4411393a1516465302f71.tar.gz |
Capability stopping when waiting for GC
Diffstat (limited to 'rts/Capability.h')
-rw-r--r-- | rts/Capability.h | 3 |
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. |