[*] i see a possible bug
This commit is contained in:
parent
1476307a60
commit
a1f4614316
@ -63,6 +63,7 @@ namespace Aurora::Threading::Primitives
|
||||
#endif
|
||||
auto uEndTimeWall = AuTime::CurrentClockNS() + qwTimeout;
|
||||
auto uTargetTimeNt = AuTime::ConvertTimestampNs(uEndTimeWall);
|
||||
bool bIOU {};
|
||||
|
||||
while (true)
|
||||
{
|
||||
@ -71,11 +72,14 @@ namespace Aurora::Threading::Primitives
|
||||
|
||||
// forced smp stall
|
||||
// see the "hopefully nt is smart enough" comment
|
||||
bool bIOU = DoTryIf([=]()
|
||||
if (!bIOU)
|
||||
{
|
||||
bIOU = DoTryIf([=]()
|
||||
{
|
||||
bool b = true;
|
||||
return CheckOut(b);
|
||||
});
|
||||
}
|
||||
|
||||
if (bRet)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user