Fix invalid __cpu_mask argument
This commit is contained in:
@@ -90,7 +90,7 @@ void SetProcessPriority(std::string const& logChannel, uint32 affinity, bool hig
|
|||||||
{
|
{
|
||||||
CPU_ZERO(&mask);
|
CPU_ZERO(&mask);
|
||||||
sched_getaffinity(0, sizeof(mask), &mask);
|
sched_getaffinity(0, sizeof(mask), &mask);
|
||||||
LOG_INFO(logChannel, "Using processors (bitmask, hex): {:x}", *(__cpu_mask*)(&mask));
|
// LOG_INFO(logChannel, "Using processors (bitmask, hex): {:x}", *(__cpu_mask*)(&mask));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user