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

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

1.1     ! kirby       1: $OpenBSD$
        !             2:
        !             3: Index: src/common/Platform_unix.cpp
        !             4: --- src/common/Platform_unix.cpp.orig
        !             5: +++ src/common/Platform_unix.cpp
        !             6: @@ -78,6 +78,7 @@ char *Platform::createUserAgent()
        !             7:  }
        !             8:
        !             9:
        !            10: +#if 0
        !            11:  bool Platform::setThreadAffinity(uint64_t cpu_id)
        !            12:  {
        !            13:      cpu_set_t mn;
        !            14: @@ -90,6 +91,7 @@ bool Platform::setThreadAffinity(uint64_t cpu_id)
        !            15:      return sched_setaffinity(gettid(), sizeof(cpu_set_t), &mn) == 0;
        !            16:  #   endif
        !            17:  }
        !            18: +#endif
        !            19:
        !            20:
        !            21:  void Platform::setProcessPriority(int priority)

CVSweb