[+] Option macro: AURORA_RUNTIME_FORCE_ADAPTIVE_FUTEX
This commit is contained in:
parent
d25e6ef7f3
commit
03a3532a20
@ -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))
|
||||
{
|
||||
|
@ -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))
|
||||
{
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user