Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/UniqueLock.h |
| Include | #include "Async/UniqueLock.h" |
Syntax
template<typename LockType>
class TUniqueLock
Remarks
A basic mutex ownership wrapper that locks on construction and unlocks on destruction.
LockType must contain Lock() and Unlock() functions.
Use with mutex types like FMutex and FRecursiveMutex.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TUniqueLock
(
const TUniqueLock& |
|||
TUniqueLock
(
LockType& Lock |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~TUniqueLock () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TUniqueLock & | operator=
(
const TUniqueLock& |