32+ cpu fix, already rolled in hashed binary
This commit is contained in:
parent
93a92978d2
commit
70d615c418
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
void thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id)
|
void thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id)
|
||||||
{
|
{
|
||||||
SetThreadAffinityMask(h, 1 << cpu_id);
|
SetThreadAffinityMask(h, 1ULL << cpu_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue