[*] Disable this perf hack for now
This commit is contained in:
parent
7db0e2e688
commit
44afa1e3de
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user