From e0d633445008d35848d99ae05f03e8eb5eef4ed4 Mon Sep 17 00:00:00 2001 From: Wiebe Cazemier Date: Sat, 30 Jul 2022 17:16:39 +0200 Subject: [PATCH] Disable thread pinning --- threaddata.cpp | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/threaddata.cpp b/threaddata.cpp index 47cef0a..9fb2755 100644 --- a/threaddata.cpp +++ b/threaddata.cpp @@ -60,6 +60,7 @@ void ThreadData::start(thread_f f) const char *c_str = name.c_str(); pthread_setname_np(native, c_str); + /* cpu_set_t cpuset; CPU_ZERO(&cpuset); CPU_SET(threadnr, &cpuset); @@ -73,6 +74,7 @@ void ThreadData::start(thread_f f) pinned_cpu = j; logger->logf(LOG_NOTICE, "Thread '%s' pinned to CPU %d", c_str, pinned_cpu); + */ } void ThreadData::quit() -- libgit2 0.21.4