thread/Slack: use std::chrono::duration
This commit is contained in:
@@ -52,7 +52,7 @@ EventThread::Run() noexcept
|
||||
SetThreadName(realtime ? "rtio" : "io");
|
||||
|
||||
if (realtime) {
|
||||
SetThreadTimerSlackUS(10);
|
||||
SetThreadTimerSlack(std::chrono::microseconds(10));
|
||||
|
||||
try {
|
||||
SetThreadRealtime();
|
||||
|
||||
Reference in New Issue
Block a user