[*] keyed events should yield indefinitely in their failure path

(amended one day later: removed one of the fixes. this is gonna apply to just one place for now)
This commit is contained in:
Reece Wilson 2023-06-12 00:40:24 +01:00
parent 123e34d224
commit 50413f36e5

View File

@ -93,7 +93,7 @@ namespace Aurora::Threading::Primitives
this->mutex_->Unlock();
LARGE_INTEGER word;
word.QuadPart = 0;
bRet = pNtWaitForKeyedEvent(gKeyedEventHandle, &this->wlist, 0, &word) != NTSTATUS_TIMEOUT;
bRet = pNtWaitForKeyedEvent(gKeyedEventHandle, &this->wlist, 0, nullptr) != NTSTATUS_TIMEOUT;
this->mutex_->Lock();
}