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:
wj32
2010-02-25 10:54:37 +00:00
parent 11816acb5e
commit ef1b73cc08
+1 -1
View File
@@ -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);