[BACK]Return to patch-src_workers_Worker_cpp CVS log [TXT][DIR] Up to [local] / ports / misc / xmrig / patches

Annotation of ports/misc/xmrig/patches/patch-src_workers_Worker_cpp, Revision 1.1

1.1     ! kirby       1: $OpenBSD$
        !             2:
        !             3: Index: src/workers/Worker.cpp
        !             4: --- src/workers/Worker.cpp.orig
        !             5: +++ src/workers/Worker.cpp
        !             6: @@ -41,9 +41,6 @@ Worker::Worker(Handle *handle) :
        !             7:      m_sequence(0),
        !             8:      m_thread(static_cast<xmrig::CpuThread *>(handle->config()))
        !             9:  {
        !            10: -    if (xmrig::Cpu::info()->threads() > 1 && m_thread->affinity() != -1L) {
        !            11: -        Platform::setThreadAffinity(m_thread->affinity());
        !            12: -    }
        !            13:
        !            14:      Platform::setThreadPriority(m_thread->priority());
        !            15:  }

CVSweb