From: simonmar Date: Mon, 1 Mar 2004 12:33:17 +0000 (+0000) Subject: [project @ 2004-03-01 12:33:17 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~33 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=59a8549c233810ebaf62a041c5e841ef7c275cd3 [project @ 2004-03-01 12:33:17 by simonmar] wibble --- 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; }