[+] Option macro: AURORA_RUNTIME_FORCE_ADAPTIVE_FUTEX

This commit is contained in:
Reece Wilson 2023-08-22 13:58:17 +01:00
parent d25e6ef7f3
commit 03a3532a20
3 changed files with 3 additions and 3 deletions

View File

@ -187,7 +187,7 @@ namespace Aurora::Threading::Waitables
return true;
}
#if defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)
#if (defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)) && !defined(AURORA_RUNTIME_FORCE_ADAPTIVE_FUTEX)
AuUInt uCount(GetTotalSpinCountTimeout());
for (AU_ITERATE_N(i, uCount))
{

View File

@ -32,7 +32,7 @@ namespace Aurora::Threading::Waitables
return true;
}
#if defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)
#if (defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)) && !defined(AURORA_RUNTIME_FORCE_ADAPTIVE_FUTEX)
AuUInt uCount(GetTotalSpinCountTimeout());
for (AU_ITERATE_N(i, uCount))
{

View File

@ -31,7 +31,7 @@ namespace Aurora::Threading::Waitables
return true;
}
#if defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)
#if (defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)) && !defined(AURORA_RUNTIME_FORCE_ADAPTIVE_FUTEX)
AuUInt uCount(GetTotalSpinCountTimeout());
for (AU_ITERATE_N(i, uCount))
{