diff options
Diffstat (limited to 'rts/sm/GC.h')
-rw-r--r-- | rts/sm/GC.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rts/sm/GC.h b/rts/sm/GC.h index 44ae7e35b2..a2bf6123d6 100644 --- a/rts/sm/GC.h +++ b/rts/sm/GC.h @@ -18,9 +18,9 @@ #include "HeapAlloc.h" -void GarbageCollect (uint32_t collect_gen, - rtsBool do_heap_census, - uint32_t gc_type, Capability *cap, rtsBool idle_cap[]); +void GarbageCollect (uint32_t force_major_gc, + bool do_heap_census, + uint32_t gc_type, Capability *cap, bool idle_cap[]); typedef void (*evac_fn)(void *user, StgClosure **root); @@ -28,13 +28,13 @@ StgClosure * isAlive ( StgClosure *p ); void markCAFs ( evac_fn evac, void *user ); extern uint32_t N; -extern rtsBool major_gc; +extern bool major_gc; extern bdescr *mark_stack_bd; extern bdescr *mark_stack_top_bd; extern StgPtr mark_sp; -extern rtsBool work_stealing; +extern bool work_stealing; #ifdef DEBUG extern uint32_t mutlist_MUTVARS, mutlist_MUTARRS, mutlist_MVARS, mutlist_OTHERS, @@ -55,8 +55,8 @@ void initGcThreads (uint32_t from, uint32_t to); void freeGcThreads (void); #if defined(THREADED_RTS) -void waitForGcThreads (Capability *cap, rtsBool idle_cap[]); -void releaseGCThreads (Capability *cap, rtsBool idle_cap[]); +void waitForGcThreads (Capability *cap, bool idle_cap[]); +void releaseGCThreads (Capability *cap, bool idle_cap[]); #endif #define WORK_UNIT_WORDS 128 |