[*] Further optimize AuWakeOnAddress (signaling)
This commit is contained in:
parent
aadca8058e
commit
b9e8b138f7
@ -283,6 +283,11 @@ namespace Aurora::Threading
|
||||
{
|
||||
bool bRetStatus { true };
|
||||
|
||||
if (AuAtomicLoad((AuUInt *)&this->waitList.pTail) == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Lock();
|
||||
{
|
||||
// FIFO
|
||||
|
Loading…
Reference in New Issue
Block a user