Navigation
API > API/Runtime > API/Runtime/Core
TGenericPlatformSharedMutex - Read/Write Mutex
- Provides non-recursive Read/Write (or shared-exclusive) access.
- As a fallback default for non implemented platforms, using a single mutex to provide complete single mutual exclusion - no separate Read/Write access.
| Name | TGenericPlatformSharedMutex |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMutex.h |
| Include Path | #include "GenericPlatform/GenericPlatformMutex.h" |
Syntax
template<class MutexType>
class TGenericPlatformSharedMutex
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GenericPlatform/GenericPlatformMutex.h | |||
| GenericPlatform/GenericPlatformMutex.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TGenericPlatformSharedMutex() |
GenericPlatform/GenericPlatformMutex.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mutex | MutexType | GenericPlatform/GenericPlatformMutex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Lock() |
GenericPlatform/GenericPlatformMutex.h | ||
void LockShared() |
GenericPlatform/GenericPlatformMutex.h | ||
bool TryLock() |
GenericPlatform/GenericPlatformMutex.h | ||
bool TryLockShared() |
GenericPlatform/GenericPlatformMutex.h | ||
void Unlock() |
GenericPlatform/GenericPlatformMutex.h | ||
void UnlockShared() |
GenericPlatform/GenericPlatformMutex.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TGenericPlatformSharedMutex & operator=
(
const TGenericPlatformSharedMutex& |
GenericPlatform/GenericPlatformMutex.h |