[*] Added call to Win32DropSchedulerResolution under sleep
This commit is contained in:
parent
7324a59e5b
commit
09401cecd6
@ -63,6 +63,8 @@ namespace Aurora::Threading
|
||||
auto endTimeWall = AuTime::CurrentClockNS() + qwTimeout;
|
||||
auto targetTimeNt = AuTime::ConvertTimestampNs(endTimeWall);
|
||||
|
||||
Win32DropSchedulerResolution();
|
||||
|
||||
while (AuTime::SteadyClockNS() < endTimeSteady)
|
||||
{
|
||||
LARGE_INTEGER word;
|
||||
|
Loading…
Reference in New Issue
Block a user