[*] Disable this perf hack for now

This commit is contained in:
Reece Wilson 2023-10-13 17:00:51 +01:00
parent 7db0e2e688
commit 44afa1e3de

View File

@ -1007,6 +1007,7 @@ namespace Aurora::IO::Loop
sleepDelta == INFINITE)
{
#if 0
auto DoTryIf = [&]
{
temp = ::WaitForMultipleObjectsEx(this->handleArrayOr_.size(), this->handleArrayOr_.data(), false, 4, true);
@ -1014,6 +1015,7 @@ namespace Aurora::IO::Loop
};
if (!DoTryIf())
#endif
{
temp = pMsgWaitForMultipleObjectsEx(this->handleArrayOr_.size(), this->handleArrayOr_.data(), sleepDelta, QS_ALLPOSTMESSAGE | QS_ALLINPUT | QS_ALLEVENTS, MWMO_INPUTAVAILABLE | MWMO_ALERTABLE);
}