1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team 1998-2002
5 * External API for the scheduler. For most uses, the functions in
6 * RtsAPI.h should be enough.
8 * ---------------------------------------------------------------------------*/
16 StgTSO *createThread (Capability *cap, nat stack_size);
18 Capability *scheduleWaitThread (StgTSO *tso, /*out*/HaskellObj* ret,
21 StgTSO *createGenThread (Capability *cap, nat stack_size,
23 StgTSO *createIOThread (Capability *cap, nat stack_size,
25 StgTSO *createStrictIOThread (Capability *cap, nat stack_size,