[*] Amend 6913daae
This commit is contained in:
parent
9c4315ff95
commit
99533c456d
@ -183,7 +183,7 @@ namespace Aurora::Threading::Waitables
|
|||||||
{
|
{
|
||||||
const AuUInt32 kRef { uValue };
|
const AuUInt32 kRef { uValue };
|
||||||
AuUInt32 uState {};
|
AuUInt32 uState {};
|
||||||
bool bStatus {};
|
bool bStatus { true };
|
||||||
|
|
||||||
while (!TryWaitOnAddressUntilEqual((const void *)&this->uAtomicState, &kRef, sizeof(kRef)))
|
while (!TryWaitOnAddressUntilEqual((const void *)&this->uAtomicState, &kRef, sizeof(kRef)))
|
||||||
{
|
{
|
||||||
@ -217,7 +217,7 @@ namespace Aurora::Threading::Waitables
|
|||||||
AuOptional<AuUInt64> qwTimeoutAbs)
|
AuOptional<AuUInt64> qwTimeoutAbs)
|
||||||
{
|
{
|
||||||
AuUInt32 uState {};
|
AuUInt32 uState {};
|
||||||
bool bStatus {};
|
bool bStatus { true };
|
||||||
|
|
||||||
while ((uState = AuAtomicLoad(&this->uAtomicState) < uValue))
|
while ((uState = AuAtomicLoad(&this->uAtomicState) < uValue))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user