[project @ 2005-03-04 14:24:51 by simonmar]
[ghc-hetmet.git] / ghc / includes / TSO.h
index f68bf80..2eca88a 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: TSO.h,v 1.39 2004/11/18 09:56:22 tharris Exp $
+ * $Id: TSO.h,v 1.41 2005/02/10 13:02:05 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -85,7 +85,7 @@ typedef StgWord32 StgThreadID;
  */
 typedef unsigned int StgThreadReturnCode;
 
-#if defined(mingw32_TARGET_OS)
+#if defined(mingw32_HOST_OS)
 /* results from an async I/O request + it's ID. */
 typedef struct {
   unsigned int reqID;
@@ -98,7 +98,7 @@ typedef union {
   StgClosure *closure;
   struct StgTSO_ *tso;
   StgInt fd;   // StgInt instead of int, so that it's the same size as the ptrs
-#if defined(mingw32_TARGET_OS)
+#if defined(mingw32_HOST_OS)
   StgAsyncIOResult* async_result;
 #endif
   StgWord target;
@@ -126,7 +126,6 @@ typedef struct StgTSO_ {
   StgHeader          header;
 
   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 */
   
   StgWord16           what_next;  // Values defined in Constants.h