- Fix a bug in ExReleasePushLock which broken contention checking.

svn path=/trunk/; revision=25366
This commit is contained in:
Alex Ionescu 2007-01-08 07:43:49 +00:00
parent a46e532da9
commit 50de0ce133

View file

@ -790,7 +790,7 @@ ExReleasePushLock(PEX_PUSH_LOCK PushLock)
/* 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 */