[project @ 2002-01-22 13:54:22 by simonmar]
[ghc-hetmet.git] / ghc / includes / SchedAPI.h
index 05d3ca8..0a53fa8 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: SchedAPI.h,v 1.10 2000/04/14 15:18:05 sewardj Exp $
+ * $Id: SchedAPI.h,v 1.13 2001/03/22 03:51:09 hwloidl Exp $
  *
  * (c) The GHC Team 1998
  *
@@ -32,6 +32,9 @@ StgTSO *createThread(nat stack_size, StgInt pri);
 #else
 StgTSO *createThread(nat stack_size);
 #endif
+#if defined(PAR) || defined(SMP)
+void taskStart(void);
+#endif
 void scheduleThread(StgTSO *tso);
 
 static inline void pushClosure   (StgTSO *tso, StgClosure *c) {
@@ -82,7 +85,7 @@ createStrictIOThread(nat stack_size,  StgClosure *closure) {
   t = createThread(stack_size);
 #endif
   pushClosure(t,closure);
-  pushClosure(t,(StgClosure*)&forceIO_closure);
+  pushClosure(t,(StgClosure*)&stg_forceIO_closure);
   return t;
 }