projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-03-02 11:06:58 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
Task.h
diff --git
a/ghc/rts/Task.h
b/ghc/rts/Task.h
index
5841f95
..
b5a4dd2
100644
(file)
--- a/
ghc/rts/Task.h
+++ b/
ghc/rts/Task.h
@@
-1,9
+1,9
@@
/* -----------------------------------------------------------------------------
*
/* -----------------------------------------------------------------------------
*
- * (c) The GHC Team 2001-
+ * (c) The GHC Team 2001-2003
*
*
- * Types + prototypes for functions in Task.cn
- * (RTS subsystem for handling OS tasks).
+ * Types + prototypes for functions in Task.c
+ * (RTS subsystem for handling tasks, agents thay may execute STG code).
*
* -------------------------------------------------------------------------*/
#ifndef __TASK_H__
*
* -------------------------------------------------------------------------*/
#ifndef __TASK_H__
@@
-28,14
+28,9
@@
extern TaskInfo *taskIds;
extern void startTaskManager ( nat maxTasks, void (*taskStart)(void) );
extern void stopTaskManager ( void );
extern void startTaskManager ( nat maxTasks, void (*taskStart)(void) );
extern void stopTaskManager ( void );
+extern void resetTaskManagerAfterFork ( void );
-#if defined(THREADED_RTS)
-extern void taskNotAvailable ( void );
-extern void taskAvailable ( void );
-#endif
-
-extern void startTask ( void (*taskStart)(void) );
-extern nat getTaskCount( void );
+extern rtsBool startTask ( void (*taskStart)(void) );
#endif /* RTS_SUPPORTS_THREADS */
#endif /* __TASK_H__ */
#endif /* RTS_SUPPORTS_THREADS */
#endif /* __TASK_H__ */