mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Fix a bug in ExReleasePushLock which broken contention checking.
svn path=/trunk/; revision=25366
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user