diff --git a/Source/Threading/AuWakeOnAddress.cpp b/Source/Threading/AuWakeOnAddress.cpp index 42341bf1..643a2571 100644 --- a/Source/Threading/AuWakeOnAddress.cpp +++ b/Source/Threading/AuWakeOnAddress.cpp @@ -283,6 +283,11 @@ namespace Aurora::Threading { bool bRetStatus { true }; + if (AuAtomicLoad((AuUInt *)&this->waitList.pTail) == 0) + { + return true; + } + Lock(); { // FIFO