Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Experimental > API/Runtime/Core/Experimental/Async
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Experimental/Async/MultiUniqueLock.h |
| Include | #include "Experimental/Async/MultiUniqueLock.h" |
Syntax
template<typename TLockType>
class TMultiUniqueLock
Remarks
Like TUniqueLock, but acquires multiple locks and holds then until destruction. Acquires the locks in address order to prevent deadlocks if multiple threads are using TMultiUniqueLock for similar sets of locks.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TMultiUniqueLock
(
const TArray< TLockType* >& Locks |
|||
TMultiUniqueLock
(
TArray< TLockType* >&& Locks |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Operators
| Type | Name | Description | |
|---|---|---|---|
| TMultiUniqueLock & | |||
| TMultiUniqueLock & |