[*] Autoset bPlatformIsSMPProcessorOptimized to false on singlethreaded systems

This commit is contained in:
Reece Wilson 2023-08-23 16:03:22 +01:00
parent d79cb4f3ca
commit 0c5d140bd4

View File

@ -76,6 +76,7 @@ namespace Aurora::Threading::Primitives
if (uCores == 1) if (uCores == 1)
{ {
gSpinAdaptiveThreshold = 0; gSpinAdaptiveThreshold = 0;
gRuntimeConfig.threadingConfig.bPlatformIsSMPProcessorOptimized = false;
} }
else if (uCores >= 16) else if (uCores >= 16)
{ {