From 6169525ab2d20cd5814e2797a63649d039759e1e Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 17 Mar 2000 09:53:19 +0000 Subject: [PATCH] [project @ 2000-03-17 09:53:19 by simonmar] Add global_link field to the TSO structure. Forgotten in yesterday's commit. --- ghc/includes/TSO.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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; -- 1.7.10.4