fix Win32 build
authorSimon Marlow <simonmar@microsoft.com>
Mon, 20 Mar 2006 09:11:23 +0000 (09:11 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 20 Mar 2006 09:11:23 +0000 (09:11 +0000)
ghc/rts/win32/AwaitEvent.c

index d1dca63..43e188f 100644 (file)
@@ -44,7 +44,7 @@ awaitEvent(rtsBool wait)
     //  - new threads have arrived
 
   } while (wait
-          && !interrupted
+          && sched_state == SCHED_RUNNING
           && emptyRunQueue(&MainCapability)
       );
 }