Navigation
API > API/Runtime > API/Runtime/Core
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.
| Name | TMultiUniqueLock |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/Async/MultiUniqueLock.h |
| Include Path | #include "Experimental/Async/MultiUniqueLock.h" |
Syntax
template<typename TLockType>
class TMultiUniqueLock
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TMultiUniqueLock
(
const TArray< TLockType* >& Locks |
Experimental/Async/MultiUniqueLock.h | ||
TMultiUniqueLock
(
TArray< TLockType* >&& Locks |
Experimental/Async/MultiUniqueLock.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TMultiUniqueLock() |
Experimental/Async/MultiUniqueLock.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Locks | TArray< TLockType * > | Experimental/Async/MultiUniqueLock.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TMultiUniqueLock & operator=
(
const TArray< TLockType* >& |
Experimental/Async/MultiUniqueLock.h | ||
TMultiUniqueLock & operator=
(
TArray< TLockType* >&& |
Experimental/Async/MultiUniqueLock.h |