[*] Improved schedular regressed intraprocess command dispatch of main thread cmds

This commit is contained in:
Reece Wilson 2023-09-16 18:08:27 +01:00
parent 5727acfe55
commit 7010155916

View File

@ -145,7 +145,9 @@ namespace Aurora::Async
else else
{ {
uNextSysTickGuessed = 0; uNextSysTickGuessed = 0;
gSchedCondvar->WaitForSignalNS(); gSchedCondvar->WaitForSignalNS(gRuntimeConfig.async.bEnableLegacyTicks ?
AuMSToNS<AuUInt64>(gRuntimeConfig.async.dwLegacyMainThreadSystemTickMS) :
0);
} }
GetDispatchableTasks(pending); GetDispatchableTasks(pending);