diff --git a/Source/Async/Schedular.cpp b/Source/Async/Schedular.cpp index 207bdf29..ad3f5899 100644 --- a/Source/Async/Schedular.cpp +++ b/Source/Async/Schedular.cpp @@ -145,7 +145,9 @@ namespace Aurora::Async else { uNextSysTickGuessed = 0; - gSchedCondvar->WaitForSignalNS(); + gSchedCondvar->WaitForSignalNS(gRuntimeConfig.async.bEnableLegacyTicks ? + AuMSToNS(gRuntimeConfig.async.dwLegacyMainThreadSystemTickMS) : + 0); } GetDispatchableTasks(pending);