X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FTSO.h;h=a6a1c937d31febb018307bcea48c08dd8f9b5764;hb=d0bf18ef6ff50e8764231537f1052a81ac65b229;hp=795dd22a0f439ca3915bc1e3c17e79529f2a2bf6;hpb=670eeb0943203da447b1f3705a3880267f42c814;p=ghc-hetmet.git diff --git a/ghc/includes/TSO.h b/ghc/includes/TSO.h index 795dd22..a6a1c93 100644 --- a/ghc/includes/TSO.h +++ b/ghc/includes/TSO.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: TSO.h,v 1.22 2001/07/23 23:26:14 ken Exp $ + * $Id: TSO.h,v 1.25 2002/02/13 07:47:41 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -144,6 +144,9 @@ typedef enum { , BlockedOnGA // blocked on a remote closure represented by a Global Address , BlockedOnGA_NoSend // same as above but without sending a Fetch message #endif +#if defined(RTS_SUPPORTS_THREADS) + , BlockedOnCCall +#endif } StgTSOBlockReason; typedef union { @@ -188,7 +191,7 @@ typedef struct StgTSO_ { StgPtr sp; StgUpdateFrame* su; - StgWord stack[0]; + StgWord stack[FLEXIBLE_ARRAY]; } StgTSO; /* -----------------------------------------------------------------------------