[*] Reference futex semaphore fix timeout = 0 under ::LockNS

master
Reece Wilson 2023-11-18 09:19:10 +00:00
parent 37adbad397
commit daeb5ba06f
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ namespace Aurora::Threading::Waitables
return true;
}
auto qwEndTime = Time::SteadyClockNS() + qwTimeout;
auto qwEndTime = qwTimeout ? Time::SteadyClockNS() + qwTimeout : 0;
if (TryLock())
{