X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FTSO.h;h=d898bc71f92945c5f677cdee4d059bfd14f2f2a3;hb=21462c00b3241f15de3b145ac92ee5b266b5733a;hp=f22cbe57b5bd60ac29becc7c3f405ec574f1ca03;hpb=a496d068ab55ce2d419c3a7c93c408e0d67d2f90;p=ghc-hetmet.git diff --git a/ghc/includes/TSO.h b/ghc/includes/TSO.h index f22cbe5..d898bc7 100644 --- a/ghc/includes/TSO.h +++ b/ghc/includes/TSO.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: TSO.h,v 1.4 1999/02/05 16:02:30 simonm Exp $ + * $Id: TSO.h,v 1.5 1999/03/02 19:44:22 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -53,8 +53,9 @@ typedef enum { * 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 StgNat32 StgThreadID; +typedef StgWord32 StgThreadID; /* * This type is returned to the scheduler by a thread that has @@ -98,7 +99,7 @@ typedef struct StgTSO_ { StgWord stack[0]; } StgTSO; -extern StgTSO *CurrentTSO; +extern DLL_IMPORT_RTS StgTSO *CurrentTSO; /* Workaround for a bug/quirk in gcc on certain architectures.