[project @ 2000-03-13 10:53:55 by simonmar]
[ghc-hetmet.git] / ghc / rts / Sanity.h
index 581e029..1bd2157 100644 (file)
@@ -1,5 +1,7 @@
 /* -----------------------------------------------------------------------------
- * $Id: Sanity.h,v 1.3 1999/01/13 17:25:44 simonm Exp $
+ * $Id: Sanity.h,v 1.5 2000/01/13 14:34:04 hwloidl Exp $
+ *
+ * (c) The GHC Team, 1998-1999
  *
  * Prototypes for functions in Sanity.c
  *
@@ -11,6 +13,11 @@ extern void checkHeap  ( bdescr *bd, StgPtr start );
 extern void checkChain ( bdescr *bd );
 extern void checkStack ( StgPtr sp, StgPtr stack_end, StgUpdateFrame* su );
 extern void checkTSO   ( StgTSO* tso );
+#if defined(GRAN)
+extern void checkTSOsSanity(void);
+extern rtsBool checkThreadQSanity (PEs proc, rtsBool check_TSO_too);
+extern rtsBool checkThreadQsSanity (rtsBool check_TSO_too);
+#endif
 
 extern StgOffset checkClosure( StgClosure* p );