[*] Further optimize AuWakeOnAddress (signaling)

This commit is contained in:
Reece Wilson 2023-12-02 03:35:24 +00:00
parent aadca8058e
commit b9e8b138f7

View File

@ -283,6 +283,11 @@ namespace Aurora::Threading
{
bool bRetStatus { true };
if (AuAtomicLoad((AuUInt *)&this->waitList.pTail) == 0)
{
return true;
}
Lock();
{
// FIFO