[project @ 2004-03-01 12:33:17 by simonmar]
[ghc-hetmet.git] / 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;
 }