/* -----------------------------------------------------------------------------
*
- * (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__
extern void startTaskManager ( nat maxTasks, void (*taskStart)(void) );
extern void stopTaskManager ( void );
+extern void resetTaskManagerAfterFork ( void );
-extern void startTask ( void (*taskStart)(void) );
-extern nat getTaskCount( void );
+extern rtsBool startTask ( void (*taskStart)(void) );
#endif /* RTS_SUPPORTS_THREADS */
#endif /* __TASK_H__ */