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

Diff for /ports/misc/xmrig/patches/patch-src_common_Platform_unix_cpp between version 1.1 and 1.2

version 1.1, 2019/01/22 08:21:14 version 1.2, 2019/07/16 16:35:24
Line 3 
Line 3 
 Index: src/common/Platform_unix.cpp  Index: src/common/Platform_unix.cpp
 --- src/common/Platform_unix.cpp.orig  --- src/common/Platform_unix.cpp.orig
 +++ src/common/Platform_unix.cpp  +++ src/common/Platform_unix.cpp
 @@ -78,6 +78,7 @@ char *Platform::createUserAgent()  @@ -84,6 +84,7 @@ char *Platform::createUserAgent()
  }   }
   
   
Line 11 
Line 11 
  bool Platform::setThreadAffinity(uint64_t cpu_id)   bool Platform::setThreadAffinity(uint64_t cpu_id)
  {   {
      cpu_set_t mn;       cpu_set_t mn;
 @@ -90,6 +91,7 @@ bool Platform::setThreadAffinity(uint64_t cpu_id)  @@ -96,6 +97,7 @@ bool Platform::setThreadAffinity(uint64_t cpu_id)
      return sched_setaffinity(gettid(), sizeof(cpu_set_t), &mn) == 0;       return sched_setaffinity(gettid(), sizeof(cpu_set_t), &mn) == 0;
  #   endif   #   endif
  }   }
 +#endif  +#endif
   
   
  void Platform::setProcessPriority(int priority)   uint32_t Platform::setTimerResolution(uint32_t resolution)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb