projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-10-18 13:19:49 by simonmar]
[ghc-hetmet.git]
/
ghc
/
includes
/
SchedAPI.h
diff --git
a/ghc/includes/SchedAPI.h
b/ghc/includes/SchedAPI.h
index
05d3ca8
..
0a53fa8
100644
(file)
--- a/
ghc/includes/SchedAPI.h
+++ b/
ghc/includes/SchedAPI.h
@@
-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
*
*
* (c) The GHC Team 1998
*
@@
-32,6
+32,9
@@
StgTSO *createThread(nat stack_size, StgInt pri);
#else
StgTSO *createThread(nat stack_size);
#endif
#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) {
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);
t = createThread(stack_size);
#endif
pushClosure(t,closure);
- pushClosure(t,(StgClosure*)&forceIO_closure);
+ pushClosure(t,(StgClosure*)&stg_forceIO_closure);
return t;
}
return t;
}