[*] Timeout division: ensure this never deadlocks
This commit is contained in:
parent
74b813f051
commit
e11028bb03
@ -732,6 +732,11 @@ namespace Aurora::Threading
|
||||
}
|
||||
|
||||
word.QuadPart = -(AuInt64(uAbsTimeSteadyClock - uNow) / 100ull);
|
||||
|
||||
if (!word.QuadPart)
|
||||
{
|
||||
word.QuadPart = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (expect.Compare(pTargetAddress))
|
||||
|
Loading…
Reference in New Issue
Block a user