diff options
Diffstat (limited to 'includes/rts')
-rw-r--r-- | includes/rts/Threads.h | 2 | ||||
-rw-r--r-- | includes/rts/storage/TSO.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h index 4bb480cf2b..7f016decb6 100644 --- a/includes/rts/Threads.h +++ b/includes/rts/Threads.h @@ -42,7 +42,7 @@ StgRegTable * resumeThread (void *); // Thread operations from Threads.c // int cmp_thread (StgPtr tso1, StgPtr tso2); -int rts_getThreadId (StgPtr tso); +long rts_getThreadId (StgPtr tso); void rts_enableThreadAllocationLimit (StgPtr tso); void rts_disableThreadAllocationLimit (StgPtr tso); diff --git a/includes/rts/storage/TSO.h b/includes/rts/storage/TSO.h index d706282796..3a488d97b5 100644 --- a/includes/rts/storage/TSO.h +++ b/includes/rts/storage/TSO.h @@ -20,9 +20,9 @@ typedef struct { */ /* - * Thread IDs are 32 bits. + * Thread IDs are 64 bits. */ -typedef StgWord32 StgThreadID; +typedef StgWord64 StgThreadID; #define tsoLocked(tso) ((tso)->flags & TSO_LOCKED) |