projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2004-08-13 10:42:34 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
OSThreads.c
diff --git
a/ghc/rts/OSThreads.c
b/ghc/rts/OSThreads.c
index
2a7a152
..
ca8fd6d
100644
(file)
--- 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;
}