/* -----------------------------------------------------------------------------
- * $Id: Schedule.h,v 1.14 2000/01/14 11:45:21 hwloidl Exp $
+ * $Id: Schedule.h,v 1.15 2000/01/14 14:06:48 hwloidl Exp $
*
* (c) The GHC Team 1998-1999
*
/* Needed by Hugs.
*/
void interruptStgRts ( void );
+
// ?? needed -- HWL
void raiseAsync(StgTSO *tso, StgClosure *exception);
+nat run_queue_len(void);
//@node Some convenient macros, Index, Scheduler Vars and Data Types
//@subsection Some convenient macros
/*
- Time-stamp: <Sun Dec 12 1999 20:37:00 Stardate: [-30]4039.08 software>
+ Time-stamp: <Fri Jan 14 2000 13:52:00 Stardate: [-30]4202.88 hwloidl>
Various debugging routines for GranSim and GUM
*/
#endif /* GRAN */
#endif /* GRAN || PAR */
+
+#if !defined(GRAN) && !defined(PAR)
+// just dummy defs in this setup
+#include "Rts.h"
+#include "ParallelDebug.h"
+
+char *
+info_type(StgClosure *closure){
+ return "petaQ";
+}
+
+char *
+info_type_by_ip(StgInfoTable *ip){
+ return "petaQ";
+}
+
+void
+info_hdr_type(StgClosure *closure, char *res){
+ strcpy(res,"petaQ");
+}
+#endif /* GRAN || PAR */
+
//@node End of File, , Printing Packet Contents, Debugging routines for GranSim and GUM
//@subsection End of File
/*
- Time-stamp: <Mon Nov 29 1999 17:17:13 Stardate: [-30]3973.60 hwloidl>
+ Time-stamp: <Fri Jan 14 2000 13:47:43 Stardate: [-30]4202.87 hwloidl>
Prototypes of all parallel debugging functions.
*/
#endif /* GRAN || PAR */
+#if !defined(GRAN) && !defined(PAR)
+
+void info_hdr_type(StgClosure *closure, char *res);
+char *info_type(StgClosure *closure);
+char *info_type_by_ip(StgInfoTable *ip);
+
+#endif
+
#endif /* PARALLEL_DEBUG_H */