Fix priority for 32+ CPUs

This commit is contained in:
fireice-uk
2017-04-21 10:33:25 +01:00
committed by fireice-uk
parent 8b6048d21f
commit a93d71cd10
+1 -1
View File
@@ -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>