[*] IsSignaled was blocking
This commit is contained in:
parent
c1976d771b
commit
2c21d130ee
@ -653,12 +653,20 @@ namespace Aurora::Loop
|
||||
else
|
||||
{
|
||||
auto now = AuTime::CurrentInternalClockMS();
|
||||
if (timeout && timeout <= now)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
AuUInt sleepDelta;
|
||||
|
||||
auto sleepDelta = timeout - now;
|
||||
if (timeout)
|
||||
{
|
||||
if (timeout <= now)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
sleepDelta = timeout - now;
|
||||
}
|
||||
else
|
||||
{
|
||||
sleepDelta = 0;
|
||||
}
|
||||
|
||||
if (this->bIsWinLoop_)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user