X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FTSO.h;h=098ec4c93f7339460e49aab4be0c19dd5ef0c331;hb=03dc2dd3dd814ad85cc4c45e9cafc7b73163c8be;hp=2eca88a9616bcc640fd675be8bffad0cb0b6edfd;hpb=c0cca2ea9d9b07c6af2da1a786e1a7bd4b757d0c;p=ghc-hetmet.git diff --git a/ghc/includes/TSO.h b/ghc/includes/TSO.h index 2eca88a..098ec4c 100644 --- a/ghc/includes/TSO.h +++ b/ghc/includes/TSO.h @@ -1,5 +1,4 @@ /* ----------------------------------------------------------------------------- - * $Id: TSO.h,v 1.41 2005/02/10 13:02:05 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -97,7 +96,7 @@ typedef struct { typedef union { StgClosure *closure; struct StgTSO_ *tso; - StgInt fd; // StgInt instead of int, so that it's the same size as the ptrs + StgInt fd; /* StgInt instead of int, so that it's the same size as the ptrs */ #if defined(mingw32_HOST_OS) StgAsyncIOResult* async_result; #endif @@ -125,20 +124,20 @@ typedef union { typedef struct StgTSO_ { StgHeader header; - struct StgTSO_* link; // Links threads onto blocking queues */ - struct StgTSO_* global_link; // Links all threads together */ + struct StgTSO_* link; /* Links threads onto blocking queues */ + struct StgTSO_* global_link; /* Links all threads together */ - StgWord16 what_next; // Values defined in Constants.h - StgWord16 why_blocked; // Values defined in Constants.h + StgWord16 what_next; /* Values defined in Constants.h */ + StgWord16 why_blocked; /* Values defined in Constants.h */ StgTSOBlockInfo block_info; struct StgTSO_* blocked_exceptions; StgThreadID id; int saved_errno; struct StgMainThread_* main; - struct StgTRecHeader_ *trec; // STM transaction record + struct StgTRecHeader_ *trec; /* STM transaction record */ #ifdef TICKY_TICKY - // TICKY-specific stuff would go here. + /* TICKY-specific stuff would go here. */ #endif #ifdef PROFILING StgTSOProfInfo prof;