[*] Reference futex semaphore fix timeout = 0 under ::LockNS
This commit is contained in:
parent
37adbad397
commit
daeb5ba06f
@ -111,7 +111,7 @@ namespace Aurora::Threading::Waitables
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto qwEndTime = Time::SteadyClockNS() + qwTimeout;
|
auto qwEndTime = qwTimeout ? Time::SteadyClockNS() + qwTimeout : 0;
|
||||||
|
|
||||||
if (TryLock())
|
if (TryLock())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user