summaryrefslogtreecommitdiff
path: root/includes/rts/Threads.h
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-09-07 16:01:36 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-09-07 16:25:16 +0100
commitbf2d58c2356578e87c1b09de0636a7cf57c71fe7 (patch)
treecc0e89e50c62010894a211fd20be019ebb4e23e9 /includes/rts/Threads.h
parent0550bcbf040bd15b4c99add47e3fbb7387be38ff (diff)
downloadhaskell-bf2d58c2356578e87c1b09de0636a7cf57c71fe7.tar.gz
Lots of nat -> StgWord changes
Diffstat (limited to 'includes/rts/Threads.h')
-rw-r--r--includes/rts/Threads.h8
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