[*] AURORA_FORCE_SRW_LOCKS isn't officially supported but it should at least build

This commit is contained in:
Reece Wilson 2024-04-30 20:37:00 +01:00
parent 410a67d842
commit 07ef822bfa

View File

@ -28,6 +28,7 @@ namespace Aurora::Threading::Primitives
void ConditionVariableNT::AddWaiter()
{
#if !defined(AURORA_FORCE_SRW_LOCKS)
while (true)
{
auto uNow = this->wlist;
@ -39,6 +40,7 @@ namespace Aurora::Threading::Primitives
break;
}
}
#endif
}
bool ConditionVariableNT::WaitForSignalNsEx(Win32ConditionMutex *pMutex, AuUInt64 qwTimeout, bool bSpin)