[+] IWorkItemHandler::ProcessInfo::reschedSteadyClockAbsNs

This commit is contained in:
Reece Wilson 2023-10-31 21:07:42 +00:00
parent 01824d6589
commit df784c45b8
2 changed files with 7 additions and 2 deletions

View File

@ -32,6 +32,7 @@ namespace Aurora::Async
AuUInt64 reschedNs {}; AuUInt64 reschedNs {};
AuUInt32 reschedClockAbsMs {}; AuUInt32 reschedClockAbsMs {};
AuUInt64 reschedClockAbsNs {}; AuUInt64 reschedClockAbsNs {};
AuUInt64 reschedSteadyClockAbsNs {};
// @hideinitializer // @hideinitializer
IThreadPool *pool; IThreadPool *pool;
}; };

View File

@ -388,11 +388,15 @@ namespace Aurora::Async
} }
else if (info.reschedClockAbsMs) else if (info.reschedClockAbsMs)
{ {
SetSchedTimeAbs(info.reschedMs); SetSchedTimeAbs(info.reschedClockAbsMs);
} }
else if (info.reschedClockAbsNs) else if (info.reschedClockAbsNs)
{ {
SetSchedTimeNsAbs(info.reschedNs); SetSchedTimeNsAbs(info.reschedClockAbsNs);
}
else if (info.reschedSteadyClockAbsNs)
{
SetSchedSteadyTimeNsAbs(info.reschedSteadyClockAbsNs);
} }
if (!WaitForLocked(info.waitFor)) if (!WaitForLocked(info.waitFor))