[project @ 2004-03-01 12:33:17 by simonmar]
authorsimonmar <unknown>
Mon, 1 Mar 2004 12:33:17 +0000 (12:33 +0000)
committersimonmar <unknown>
Mon, 1 Mar 2004 12:33:17 +0000 (12:33 +0000)
wibble

ghc/rts/OSThreads.c

index 2a7a152..ca8fd6d 100644 (file)
@@ -178,10 +178,10 @@ signalCondition ( Condition* pCond )
 rtsBool
 waitCondition ( Condition* pCond, Mutex* pMut )
 {
-  RELEASE_LOCK(*pMut);
+  RELEASE_LOCK(pMut);
   WaitForSingleObject(*pCond, INFINITE);
   /* Hmm..use WaitForMultipleObjects() ? */
-  ACQUIRE_LOCK(*pMut);
+  ACQUIRE_LOCK(pMut);
   return rtsTrue;
 }