[*] everything before semaphore cast
This commit is contained in:
parent
f9916e0f21
commit
a1a2d482d7
@ -74,17 +74,17 @@ namespace Aurora::IO::Loop
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (auto pSemaphore = AuDynamicCast<Loop::ILSSemaphore>(pLoopSource))
|
|
||||||
{
|
|
||||||
pSemaphore->AddOne();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (auto pEvent = AuDynamicCast<Loop::ILSEvent>(pLoopSource))
|
if (auto pEvent = AuDynamicCast<Loop::ILSEvent>(pLoopSource))
|
||||||
{
|
{
|
||||||
pEvent->Set();
|
pEvent->Set();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (auto pSemaphore = AuDynamicCast<Loop::ILSSemaphore>(pLoopSource))
|
||||||
|
{
|
||||||
|
pSemaphore->AddOne();
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AUKN_SYM bool WaitMultipleLoopSources(const AuList<AuSPtr<Loop::ILoopSource>> &lsList,
|
AUKN_SYM bool WaitMultipleLoopSources(const AuList<AuSPtr<Loop::ILoopSource>> &lsList,
|
||||||
|
Loading…
Reference in New Issue
Block a user