summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/tracker.cpp')
-rw-r--r--opentrack/tracker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/opentrack/tracker.cpp b/opentrack/tracker.cpp
index a9475838..1990d613 100644
--- a/opentrack/tracker.cpp
+++ b/opentrack/tracker.cpp
@@ -14,6 +14,7 @@
#include "tracker.h"
+#include "opentrack/thread.hpp"
#include <cmath>
#include <algorithm>
@@ -183,6 +184,8 @@ void Tracker::logic()
void Tracker::run() {
const int sleep_ms = 3;
+
+ Affinity thr(CORE_IPC);
#if defined(_WIN32)
(void) timeBeginPeriod(1);