X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FTask.h;h=b5a4dd27b2f790ac531aa039183f666798c8b4b9;hb=9b588c57cf0d2cb4f360d5155a9b456605c0e8be;hp=86a0c48f469482ccd485547330bec42801eb38a6;hpb=45e237c146553151ffa35e0a12229b1d1733d319;p=ghc-hetmet.git diff --git a/ghc/rts/Task.h b/ghc/rts/Task.h index 86a0c48..b5a4dd2 100644 --- a/ghc/rts/Task.h +++ b/ghc/rts/Task.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------------- * - * (c) The GHC Team 2001- + * (c) The GHC Team 2001-2003 * * Types + prototypes for functions in Task.c * (RTS subsystem for handling tasks, agents thay may execute STG code). @@ -28,14 +28,9 @@ extern TaskInfo *taskIds; 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__ */