[*] ...yes

This commit is contained in:
Reece Wilson 2023-09-19 01:38:16 +01:00
parent 125c150fc5
commit 5a9292ad1a

View File

@ -147,7 +147,7 @@ namespace Aurora::Threading::Primitives
AuAtomicSub(&gSpinAdaptiveCurrentCount, 1u); AuAtomicSub(&gSpinAdaptiveCurrentCount, 1u);
} }
else if (uNow <= gSpinAdaptiveThreadCount) else if (uNow <= (gSpinAdaptiveThreadCount / 4 * 3))
{ {
auto uCount = (spin) / 3; auto uCount = (spin) / 3;
#if defined(AURORA_ARCH_X64) || defined(AURORA_ARCH_X86) #if defined(AURORA_ARCH_X64) || defined(AURORA_ARCH_X86)