[*] 74dc6772 cont: this structure is going to be padded to 32bits anyway. this makes the atomic operations easier

This commit is contained in:
Reece Wilson 2023-09-10 18:10:36 +01:00
parent 4915c5e6bf
commit 22efbff12f

View File

@ -51,7 +51,7 @@ namespace Aurora::Threading::Primitives
AuUInt8 bPermitMultipleTriggers : 1; AuUInt8 bPermitMultipleTriggers : 1;
AuUInt8 bTriggered : 1; AuUInt8 bTriggered : 1;
}; };
AuUInt8 state; AuUInt32 state;
}; };
union union
@ -63,7 +63,7 @@ namespace Aurora::Threading::Primitives
AuUInt8 bTriggered_ : 1; AuUInt8 bTriggered_ : 1;
}; };
AuUInt8 state_; AuUInt32 state_;
}; };