[*] Timeout division: ensure this never deadlocks

This commit is contained in:
Reece Wilson 2023-06-15 21:15:58 +01:00
parent 74b813f051
commit e11028bb03

View File

@ -732,6 +732,11 @@ namespace Aurora::Threading
}
word.QuadPart = -(AuInt64(uAbsTimeSteadyClock - uNow) / 100ull);
if (!word.QuadPart)
{
word.QuadPart = 1;
}
}
if (expect.Compare(pTargetAddress))