Commit 670eeb09 authored by ken's avatar ken

[project @ 2001-07-23 23:26:14 by ken]

Changed comment to reflect reality: We now use 32-bit thread IDs, not
64-bit ones.
parent f060e56b
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: TSO.h,v 1.21 2001/04/02 07:24:12 qrczak Exp $ * $Id: TSO.h,v 1.22 2001/07/23 23:26:14 ken Exp $
* *
* (c) The GHC Team, 1998-1999 * (c) The GHC Team, 1998-1999
* *
...@@ -97,11 +97,7 @@ typedef enum { ...@@ -97,11 +97,7 @@ typedef enum {
} StgTSOWhatNext; } StgTSOWhatNext;
/* /*
* We are completely paranoid and make thread IDs 64 bits to avoid * Thread IDs are 32 bits.
* having to worry about overflow. A little calculation shows that
* even doing 10^6 forks per second would take 35 million years to
* overflow a 64 bit thread ID :-)
*
*/ */
typedef StgWord32 StgThreadID; typedef StgWord32 StgThreadID;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment