diff --git a/Aurora/ROXTL b/Aurora/ROXTL index b61015a..8a2beae 160000 --- a/Aurora/ROXTL +++ b/Aurora/ROXTL @@ -1 +1 @@ -Subproject commit b61015a6a5fabbdc28f3f4229344c5437d0c26a4 +Subproject commit 8a2beae2a35d64e5c73df376ffc1c51e04d8098c diff --git a/Tests/Public/2. Hello Threading/Main.cpp b/Tests/Public/2. Hello Threading/Main.cpp index 258178f..86e0f1b 100644 --- a/Tests/Public/2. Hello Threading/Main.cpp +++ b/Tests/Public/2. Hello Threading/Main.cpp @@ -67,6 +67,19 @@ TEST(Allocationless, SOO) #endif } + +TEST(Allocationless, SOOShorthand) +{ + AuThreadPrimitives::ConditionMutex condMutex; + AuThreadPrimitives::ConditionVariable condVariable(AuUnsafeRaiiToShared(condMutex.AsPointer())); + AuThreadPrimitives::Mutex mutex; + AuThreadPrimitives::Event event(false, true, false); + AuThreadPrimitives::Semaphore semaphore; + AuThreadPrimitives::CriticalSection cs; + AuThreadPrimitives::RWLock rwLock; + AuThreadPrimitives::RWRenterableLock rwLock2; +} + /** * @brief Single threaded mutex lock test (rentrant mutexes are called critical sections in this subsystem) */