Fix priority for 32+ CPUs

This commit is contained in:
fireice-uk
2017-04-10 17:47:33 +01:00
parent 9d45a167e9
commit e58a09f63b
+1 -1
View File
@@ -32,7 +32,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>