From 73c5904d979845090b271943998522c4dc3b226c Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Thu, 9 Nov 2023 19:54:57 +0000 Subject: [PATCH] [*] Disable bPreferWaitOnAddressAlwaysSpin by default --- Include/Aurora/Runtime.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/Aurora/Runtime.hpp b/Include/Aurora/Runtime.hpp index d05a7624..07417c3c 100644 --- a/Include/Aurora/Runtime.hpp +++ b/Include/Aurora/Runtime.hpp @@ -380,7 +380,7 @@ namespace Aurora #else AuUInt64 bPreferEmulatedWakeOnAddress : 1 { !AuBuild::kIsNtDerived /*everybody else requires us to hit the kernel. */ }; #endif - AuUInt64 bPreferWaitOnAddressAlwaysSpin : 1 { true }; // ..., if emulated! if double-spinning under higher level locks, disable me. + AuUInt64 bPreferWaitOnAddressAlwaysSpin : 1 { false }; // ..., if emulated! if double-spinning under higher level locks, disable me. AuUInt64 bPreferWaitOnAddressAlwaysSpinNative : 1 { false }; // ..., if not emulated! noting that most kernels and user-schedulers will spin for you AuUInt64 bPreferRWLockReadLockSpin : 1 { true }; AuUInt64 bUWPNanosecondEmulationCheckFirst : 1 { false };