Author: ion
Date: Mon Jan 8 10:43:49 2007
New Revision: 25366
URL: http://svn.reactos.org/svn/reactos?rev=25366&view=rev
Log:
- Fix a bug in ExReleasePushLock which broken contention checking.
Modified:
trunk/reactos/ntoskrnl/include/internal/ex.h
Modified: trunk/reactos/ntoskrnl/include/internal/ex.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ex.h (original)
+++ trunk/reactos/ntoskrnl/include/internal/ex.h Mon Jan 8 10:43:49 2007
@@ -790,7 +790,7 @@
/* Check if nobody is waiting on us and try clearing the lock here */
if ((OldValue.Waiting) ||
- (ExpChangePushlock(PushLock, NewValue.Ptr, OldValue.Ptr) ==
+ (ExpChangePushlock(PushLock, NewValue.Ptr, OldValue.Ptr) !=
OldValue.Ptr))
{
/* We have waiters, use the long path */