Navigation
API > API/Runtime > API/Runtime/Core
A mutex that is the size of a pointer and does not depend on ParkingLot.
Prefer FMutex to FWordMutex whenever possible. This mutex is not fair and does not support recursive locking.
| Name | FWordMutex |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/WordMutex.h |
| Include Path | #include "Async/WordMutex.h" |
Syntax
class FWordMutex
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FWordMutex () |
Async/WordMutex.h | ||
FWordMutex
(
const FWordMutex& |
Async/WordMutex.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IsLockedFlag | UPTRINT | Async/WordMutex.h | |
| IsQueueLockedFlag | UPTRINT | Async/WordMutex.h | |
| QueueMask | UPTRINT | Async/WordMutex.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| State | std::atomic< UPTRINT > | Async/WordMutex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Lock() |
Async/WordMutex.h | ||
bool TryLock() |
Async/WordMutex.h | ||
void Unlock() |
Async/WordMutex.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWordMutex & operator=
(
const FWordMutex& |
Async/WordMutex.h |