[*] Further optimize AuWakeOnAddress (signaling)

master
Reece Wilson 2023-12-02 03:35:24 +00:00
parent aadca8058e
commit b9e8b138f7
1 changed files with 5 additions and 0 deletions

View File

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