X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FCapability.h;h=59da4a88fae2e2345a259b9d4104109b45c72f8e;hb=4afc3a50c27ae4ac4bbd5a11f2f3c95bae45d778;hp=d8eba0d733f17b4c5334e5eb5f99a5a511c5295d;hpb=f4692220c7cbdadaa633f50eb2b30b59edb30183;p=ghc-hetmet.git diff --git a/rts/Capability.h b/rts/Capability.h index d8eba0d..59da4a8 100644 --- a/rts/Capability.h +++ b/rts/Capability.h @@ -4,6 +4,9 @@ * * Capabilities * + * For details on the high-level design, see + * http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Scheduler + * * A Capability holds all the state an OS thread/task needs to run * Haskell code: its STG registers, a pointer to its TSO, a nursery * etc. During STG execution, a pointer to the Capabilitity is kept in @@ -273,7 +276,7 @@ void freeCapabilities (void); // For the GC: void markSomeCapabilities (evac_fn evac, void *user, nat i0, nat delta, - rtsBool prune_sparks); + rtsBool no_mark_sparks); void markCapabilities (evac_fn evac, void *user); void traverseSparkQueues (evac_fn evac, void *user);