From: simonmar Date: Fri, 17 Mar 2000 09:53:19 +0000 (+0000) Subject: [project @ 2000-03-17 09:53:19 by simonmar] X-Git-Tag: Approximately_9120_patches~4961 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=6169525ab2d20cd5814e2797a63649d039759e1e;p=ghc-hetmet.git [project @ 2000-03-17 09:53:19 by simonmar] Add global_link field to the TSO structure. Forgotten in yesterday's commit. --- diff --git a/ghc/includes/TSO.h b/ghc/includes/TSO.h index 2b81f76..e97875f 100644 --- a/ghc/includes/TSO.h +++ b/ghc/includes/TSO.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: TSO.h,v 1.11 2000/01/22 18:00:03 simonmar Exp $ + * $Id: TSO.h,v 1.12 2000/03/17 09:53:19 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -144,9 +144,11 @@ typedef union { typedef struct StgTSO_ { StgHeader header; - struct StgTSO_* link; - /* SDM and HWL agree that it would be cool to have a list of all TSOs */ - StgMutClosure * mut_link; /* TSO's are mutable of course! */ + + struct StgTSO_* link; /* Links threads onto blocking queues */ + StgMutClosure * mut_link; /* TSO's are mutable of course! */ + struct StgTSO_* global_link; /* Links all threads together */ + StgTSOWhatNext whatNext; StgTSOBlockReason why_blocked; StgTSOBlockInfo block_info;