[+] added soo shorthand test for thread primitives
This commit is contained in:
parent
edf169138e
commit
2e88cebbad
@ -1 +1 @@
|
||||
Subproject commit b61015a6a5fabbdc28f3f4229344c5437d0c26a4
|
||||
Subproject commit 8a2beae2a35d64e5c73df376ffc1c51e04d8098c
|
@ -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)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user