From 59a8549c233810ebaf62a041c5e841ef7c275cd3 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 1 Mar 2004 12:33:17 +0000 Subject: [PATCH] [project @ 2004-03-01 12:33:17 by simonmar] wibble --- ghc/rts/OSThreads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 1.7.10.4