mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:46:17 +00:00
- Fix a bug in ExReleasePushLock which broken contention checking.
svn path=/trunk/; revision=25366
This commit is contained in:
parent
a46e532da9
commit
50de0ce133
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue