[project @ 2004-03-01 09:49:48 by simonmar]
authorsimonmar <unknown>
Mon, 1 Mar 2004 09:49:48 +0000 (09:49 +0000)
committersimonmar <unknown>
Mon, 1 Mar 2004 09:49:48 +0000 (09:49 +0000)
make it compile (win32)

ghc/rts/OSThreads.c

index cac4abe..2a7a152 100644 (file)
@@ -181,7 +181,7 @@ waitCondition ( Condition* pCond, Mutex* pMut )
   RELEASE_LOCK(*pMut);
   WaitForSingleObject(*pCond, INFINITE);
   /* Hmm..use WaitForMultipleObjects() ? */
-  ACQUIRE_LOCK(*pMut, INFINITE);
+  ACQUIRE_LOCK(*pMut);
   return rtsTrue;
 }