[*] Minor optimization in a shit primitive
This commit is contained in:
parent
0838373410
commit
c2a6bd92fa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user