diff --git a/Source/Threading/Primitives/AuEvent.cpp b/Source/Threading/Primitives/AuEvent.cpp index 897fc461..59d7fa3f 100644 --- a/Source/Threading/Primitives/AuEvent.cpp +++ b/Source/Threading/Primitives/AuEvent.cpp @@ -101,7 +101,15 @@ namespace Aurora::Threading::Primitives SysAssertExp((this->bPermitMultipleTriggers_) || (!this->bTriggered_), "Can not trigger an awake event object"); this->bTriggered_ = true; } - this->condition_.Broadcast(); + + if (this->bAtomicRelease_) + { + this->condition_.Signal(); + } + else + { + this->condition_.Broadcast(); + } } bool EventImpl::HasOSHandle(AuMach &mach)