summaryrefslogtreecommitdiff
path: root/rts/sm/MarkWeak.h
blob: 0b5bd1ed8fd34a5eba44bae8d7bef96c4f863ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team 1998-2006
 *
 * Weak pointers and weak-like things in the GC
 *
 * ---------------------------------------------------------------------------*/

extern StgWeak *old_weak_ptr_list;
extern StgTSO *resurrected_threads;

void    initWeakForGC          ( void );
rtsBool traverseWeakPtrList    ( void );
void    markWeakPtrList        ( void );
rtsBool traverseBlackholeQueue ( void );