[*] On unix, eNormal throttle should mask all cores

This commit is contained in:
Reece Wilson 2022-03-30 15:18:07 +01:00
parent 361e8526cf
commit cf73ccad37

View File

@ -702,6 +702,7 @@ namespace Aurora::Threading::Threads
switch (throttle)
{
case EThreadThrottle::eNormal:
this->throttleMask_ = AuHwInfo::GetCPUInfo().maskAllCores;
break;
case EThreadThrottle::ePerformance:
this->throttleMask_ = AuHwInfo::GetCPUInfo().maskPCores;
@ -713,7 +714,7 @@ namespace Aurora::Threading::Threads
UpdateAffinity(this->mask_);
#endif
this->prio_ = prio;
}