[*] FutexCondWaitable infinite sleep fix
This commit is contained in:
parent
202df79d0b
commit
2d2d66f410
@ -30,7 +30,7 @@ namespace Aurora::Threading::Waitables
|
||||
}
|
||||
|
||||
auto bSuccess = this->TryLock2() ||
|
||||
this->SleepOne(Time::SteadyClockNS() + uRelativeNanoseconds);
|
||||
this->SleepOne(uRelativeNanoseconds ? Time::SteadyClockNS() + uRelativeNanoseconds : 0);
|
||||
|
||||
if (!bSuccess)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user