mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
fixed condition variables (2)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2884 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -364,7 +364,7 @@ FORCEINLINE VOID PhpOptimizeQueuedLockListEx(
|
||||
{
|
||||
assert(value & PH_QUEUED_LOCK_TRAVERSING);
|
||||
|
||||
if (!(value & PH_QUEUED_LOCK_OWNED))
|
||||
if (!IgnoreOwned && !(value & PH_QUEUED_LOCK_OWNED))
|
||||
{
|
||||
// Someone has requested that we wake waiters.
|
||||
PhpfWakeQueuedLock(QueuedLock, value);
|
||||
|
||||
Reference in New Issue
Block a user