New implementation of BLACKHOLEs
[ghc-hetmet.git] / rts / sm / MarkWeak.h
index 0b5bd1e..5c05ab2 100644 (file)
@@ -1,15 +1,29 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team 1998-2006
+ * (c) The GHC Team 1998-2008
  *
  * Weak pointers and weak-like things in the GC
  *
+ * Documentation on the architecture of the Garbage Collector can be
+ * found in the online commentary:
+ * 
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ *
  * ---------------------------------------------------------------------------*/
 
+#ifndef SM_MARKWEAK_H
+#define SM_MARKWEAK_H
+
+BEGIN_RTS_PRIVATE
+
 extern StgWeak *old_weak_ptr_list;
 extern StgTSO *resurrected_threads;
+extern StgTSO *exception_threads;
 
 void    initWeakForGC          ( void );
 rtsBool traverseWeakPtrList    ( void );
 void    markWeakPtrList        ( void );
-rtsBool traverseBlackholeQueue ( void );
+
+END_RTS_PRIVATE
+
+#endif /* SM_MARKWEAK_H */