diff --git a/Source/Threading/Primitives/AuConditionMutex.Generic.hpp b/Source/Threading/Primitives/AuConditionMutex.Generic.hpp index c050492a..d267a55d 100644 --- a/Source/Threading/Primitives/AuConditionMutex.Generic.hpp +++ b/Source/Threading/Primitives/AuConditionMutex.Generic.hpp @@ -57,7 +57,7 @@ auline void Lock() { - mutex.Unlock(); + mutex.Lock(); } auline void Unlock() diff --git a/Source/Threading/Primitives/AuConditionMutex.Linux.hpp b/Source/Threading/Primitives/AuConditionMutex.Linux.hpp index 93ad96af..9f54484d 100644 --- a/Source/Threading/Primitives/AuConditionMutex.Linux.hpp +++ b/Source/Threading/Primitives/AuConditionMutex.Linux.hpp @@ -51,7 +51,7 @@ namespace Aurora::Threading::Primitives auline void Lock() { - mutex.Unlock(); + mutex.Lock(); } auline void Unlock() diff --git a/Source/Threading/Primitives/AuConditionMutex.NT.hpp b/Source/Threading/Primitives/AuConditionMutex.NT.hpp index 6e48566d..c73f833a 100644 --- a/Source/Threading/Primitives/AuConditionMutex.NT.hpp +++ b/Source/Threading/Primitives/AuConditionMutex.NT.hpp @@ -61,7 +61,7 @@ namespace Aurora::Threading::Primitives auline void Lock() { - mutex.Unlock(); + mutex.Lock(); } auline void Unlock()