df774cd63d6b0ab7308dc91787c4567b3e9983be
[ghc-hetmet.git] / rts / sm / Scav.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team 1998-2008
4  *
5  * Generational garbage collector: scavenging functions
6  *
7  * Documentation on the architecture of the Garbage Collector can be
8  * found in the online commentary:
9  * 
10  *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
11  *
12  * ---------------------------------------------------------------------------*/
13
14 void    scavenge_loop (void);
15 void    scavenge_mutable_list (bdescr *bd, generation *gen);
16 void    scavenge_capability_mut_lists (Capability *cap);
17
18 #ifdef THREADED_RTS
19 void    scavenge_loop1 (void);
20 void    scavenge_mutable_list1 (bdescr *bd, generation *gen);
21 void    scavenge_capability_mut_Lists1 (Capability *cap);
22 #endif