/* -----------------------------------------------------------------------------
- * $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
*
#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) {
t = createThread(stack_size);
#endif
pushClosure(t,closure);
- pushClosure(t,(StgClosure*)&forceIO_closure);
+ pushClosure(t,(StgClosure*)&stg_forceIO_closure);
return t;
}