Return to patch-src_workers_Worker_cpp CVS log | Up to [local] / ports / misc / xmrig / patches |
File: [local] / ports / misc / xmrig / patches / patch-src_workers_Worker_cpp (download)
Revision 1.1, Tue Jan 22 08:21:14 2019 UTC (5 years, 3 months ago) by kirby
Initial revision |
$OpenBSD$ Index: src/workers/Worker.cpp --- src/workers/Worker.cpp.orig +++ src/workers/Worker.cpp @@ -41,9 +41,6 @@ Worker::Worker(Handle *handle) : m_sequence(0), m_thread(static_cast<xmrig::CpuThread *>(handle->config())) { - if (xmrig::Cpu::info()->threads() > 1 && m_thread->affinity() != -1L) { - Platform::setThreadAffinity(m_thread->affinity()); - } Platform::setThreadPriority(m_thread->priority()); }