From 22efbff12f8b6c42da38d4591b0f4b00d939afe7 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Sun, 10 Sep 2023 18:10:36 +0100 Subject: [PATCH] [*] 74dc6772 cont: this structure is going to be padded to 32bits anyway. this makes the atomic operations easier --- Source/Threading/Primitives/AuEvent.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Threading/Primitives/AuEvent.hpp b/Source/Threading/Primitives/AuEvent.hpp index 4ee3a9ce..f0a95325 100644 --- a/Source/Threading/Primitives/AuEvent.hpp +++ b/Source/Threading/Primitives/AuEvent.hpp @@ -51,7 +51,7 @@ namespace Aurora::Threading::Primitives AuUInt8 bPermitMultipleTriggers : 1; AuUInt8 bTriggered : 1; }; - AuUInt8 state; + AuUInt32 state; }; union @@ -63,7 +63,7 @@ namespace Aurora::Threading::Primitives AuUInt8 bTriggered_ : 1; }; - AuUInt8 state_; + AuUInt32 state_; };