ddd7d6d2ba55cd481381d86b455e0eeff5d4aab9
[ghc.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://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
11 *
12 * ---------------------------------------------------------------------------*/
13
14 #ifndef SM_SCAV_H
15 #define SM_SCAV_H
16
17 #include "BeginPrivate.h"
18
19 void scavenge_loop (void);
20 void scavenge_capability_mut_lists (Capability *cap);
21
22 #ifdef THREADED_RTS
23 void scavenge_loop1 (void);
24 void scavenge_capability_mut_Lists1 (Capability *cap);
25 #endif
26
27 #include "EndPrivate.h"
28
29 #endif /* SM_SCAV_H */
30