diff --git a/Sources/src/Visnode/main.cpp b/Sources/src/Visnode/main.cpp index 8cf2dbf..2950554 100644 --- a/Sources/src/Visnode/main.cpp +++ b/Sources/src/Visnode/main.cpp @@ -1,5 +1,6 @@ #include "main.hpp" #include +#include using namespace psvr; template < @@ -15,6 +16,11 @@ auto since(std::chrono::time_point const& start) int main(int argc, char* argv[]) { +cpu_set_t mask; +CPU_ZERO(&mask); +CPU_SET(0, &mask); +sched_setaffinity(0, sizeof(mask), &mask); + //psvr::Psvr::open(); ui::UiManager::init(); std::future fobj = std::async (cameraManager::init); //asynchronous camera manager start diff --git a/Sources/src/Visnode/prog b/Sources/src/Visnode/prog index 7e65cc9..ced0eac 100755 Binary files a/Sources/src/Visnode/prog and b/Sources/src/Visnode/prog differ