mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-17 05:41:41 +02:00
Fix priority for 32+ CPUs
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@
|
||||
|
||||
void thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id)
|
||||
{
|
||||
SetThreadAffinityMask(h, 1 << cpu_id);
|
||||
SetThreadAffinityMask(h, 1ULL << cpu_id);
|
||||
}
|
||||
#else
|
||||
#include <pthread.h>
|
||||
|
||||
Reference in New Issue
Block a user