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