mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 00:45:49 +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 */
|
/* Check if nobody is waiting on us and try clearing the lock here */
|
||||||
if ((OldValue.Waiting) ||
|
if ((OldValue.Waiting) ||
|
||||||
(ExpChangePushlock(PushLock, NewValue.Ptr, OldValue.Ptr) ==
|
(ExpChangePushlock(PushLock, NewValue.Ptr, OldValue.Ptr) !=
|
||||||
OldValue.Ptr))
|
OldValue.Ptr))
|
||||||
{
|
{
|
||||||
/* We have waiters, use the long path */
|
/* We have waiters, use the long path */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue