X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FOSThreads.c;h=ca8fd6d75725aaad8790f3e01e94325220a17f56;hb=59a8549c233810ebaf62a041c5e841ef7c275cd3;hp=2a7a15251a218353875f1626d957a636fbbb1c3b;hpb=9208824c858a5e8c4dbed212a2fc26248aaa6fc1;p=ghc-hetmet.git diff --git a/ghc/rts/OSThreads.c b/ghc/rts/OSThreads.c index 2a7a152..ca8fd6d 100644 --- a/ghc/rts/OSThreads.c +++ b/ghc/rts/OSThreads.c @@ -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; }