summaryrefslogtreecommitdiff
path: root/ghc/includes/SchedAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/includes/SchedAPI.h')
-rw-r--r--ghc/includes/SchedAPI.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ghc/includes/SchedAPI.h b/ghc/includes/SchedAPI.h
index b682dfd686..02c308d661 100644
--- a/ghc/includes/SchedAPI.h
+++ b/ghc/includes/SchedAPI.h
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: SchedAPI.h,v 1.6 1999/07/06 09:42:39 sof Exp $
+ * $Id: SchedAPI.h,v 1.7 1999/11/02 15:05:52 simonmar Exp $
*
* (c) The GHC Team 1998
*
@@ -17,13 +17,14 @@
* not compiling rts/ bits. -- sof 7/99
*
*/
-SchedulerStatus schedule(StgTSO *main_thread, /*out*/StgClosure **ret);
+SchedulerStatus waitThread(StgTSO *main_thread, /*out*/StgClosure **ret);
/*
* Creating threads
*/
-StgTSO *createThread (nat stack_size);
+StgTSO *createThread(nat stack_size);
+void scheduleThread(StgTSO *tso);
static inline void pushClosure (StgTSO *tso, StgClosure *c) {
tso->sp--;