1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team 1998-2008
5 * Weak pointers and weak-like things in the GC
7 * Documentation on the architecture of the Garbage Collector can be
8 * found in the online commentary:
10 * http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
12 * ---------------------------------------------------------------------------*/
19 extern StgWeak *old_weak_ptr_list;
20 extern StgTSO *resurrected_threads;
21 extern StgTSO *exception_threads;
23 void initWeakForGC ( void );
24 rtsBool traverseWeakPtrList ( void );
25 void markWeakPtrList ( void );
26 rtsBool traverseBlackholeQueue ( void );
30 #endif /* SM_MARKWEAK_H */