RTS tidyup sweep, first phase
[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 #ifndef SM_SCAV_H
15 #define SM_SCAV_H
16
17 void    scavenge_loop (void);
18 void    scavenge_mutable_list (bdescr *bd, generation *gen);
19 void    scavenge_capability_mut_lists (Capability *cap);
20
21 #ifdef THREADED_RTS
22 void    scavenge_loop1 (void);
23 void    scavenge_mutable_list1 (bdescr *bd, generation *gen);
24 void    scavenge_capability_mut_Lists1 (Capability *cap);
25 #endif
26
27 #endif /* SM_SCAV_H */
28