summaryrefslogtreecommitdiff
path: root/src/event/Thread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/Thread.cxx')
-rw-r--r--src/event/Thread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/Thread.cxx b/src/event/Thread.cxx
index 211db54aa..dd8310669 100644
--- a/src/event/Thread.cxx
+++ b/src/event/Thread.cxx
@@ -52,7 +52,7 @@ EventThread::Run() noexcept
SetThreadName(realtime ? "rtio" : "io");
if (realtime) {
- SetThreadTimerSlackUS(10);
+ SetThreadTimerSlack(std::chrono::microseconds(10));
try {
SetThreadRealtime();