diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-09-07 16:01:36 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-09-07 16:25:16 +0100 |
commit | bf2d58c2356578e87c1b09de0636a7cf57c71fe7 (patch) | |
tree | cc0e89e50c62010894a211fd20be019ebb4e23e9 /includes/rts/Threads.h | |
parent | 0550bcbf040bd15b4c99add47e3fbb7387be38ff (diff) | |
download | haskell-bf2d58c2356578e87c1b09de0636a7cf57c71fe7.tar.gz |
Lots of nat -> StgWord changes
Diffstat (limited to 'includes/rts/Threads.h')
-rw-r--r-- | includes/rts/Threads.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h index 5db5cb7bd8..60d9bc45a1 100644 --- a/includes/rts/Threads.h +++ b/includes/rts/Threads.h @@ -22,17 +22,17 @@ // // Creating threads // -StgTSO *createThread (Capability *cap, nat stack_size); +StgTSO *createThread (Capability *cap, W_ stack_size); void scheduleWaitThread (/* in */ StgTSO *tso, /* out */ HaskellObj* ret, /* inout */ Capability **cap); -StgTSO *createGenThread (Capability *cap, nat stack_size, +StgTSO *createGenThread (Capability *cap, W_ stack_size, StgClosure *closure); -StgTSO *createIOThread (Capability *cap, nat stack_size, +StgTSO *createIOThread (Capability *cap, W_ stack_size, StgClosure *closure); -StgTSO *createStrictIOThread (Capability *cap, nat stack_size, +StgTSO *createStrictIOThread (Capability *cap, W_ stack_size, StgClosure *closure); // Suspending/resuming threads around foreign calls |