Author: fireball
Date: Wed Jun 18 04:53:38 2008
New Revision: 34006
URL:
http://svn.reactos.org/svn/reactos?rev=34006&view=rev
Log:
- Wake up a pushlock only if it wasn't waking already, not vice versa (was a typo in
ExfAcquirePushLockExclusive, but was done correctly in ExfAcquirePushLockShared).
Modified:
trunk/reactos/ntoskrnl/ex/pushlock.c
Modified: trunk/reactos/ntoskrnl/ex/pushlock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/pushlock.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/pushlock.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/pushlock.c [iso-8859-1] Wed Jun 18 04:53:38 2008
@@ -514,7 +514,7 @@
PtrToUlong(WaitBlock);
/* Check if the pushlock was already waking */
- if (OldValue.Waking) NeedWake = TRUE;
+ if (!OldValue.Waking) NeedWake = TRUE;
}
else
{