Navigation
API > API/Runtime > API/Runtime/Core
A shared (read/write) mutex that does not support recursive locking.
Prefer FSharedMutex.
| Name | FPThreadsSharedMutex |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/PThreadsSharedMutex.h |
| Include Path | #include "HAL/PThreadsSharedMutex.h" |
Syntax
class FPThreadsSharedMutex
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| HAL/PThreadsSharedMutex.h | |||
FPThreadsSharedMutex
(
const FPThreadsSharedMutex& |
HAL/PThreadsSharedMutex.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPThreadsSharedMutex() |
HAL/PThreadsSharedMutex.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mutex | pthread_rwlock_t | HAL/PThreadsSharedMutex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Lock() |
HAL/PThreadsSharedMutex.h | ||
void LockShared() |
HAL/PThreadsSharedMutex.h | ||
bool TryLock() |
HAL/PThreadsSharedMutex.h | ||
bool TryLockShared() |
HAL/PThreadsSharedMutex.h | ||
void Unlock() |
HAL/PThreadsSharedMutex.h | ||
void UnlockShared() |
HAL/PThreadsSharedMutex.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPThreadsSharedMutex & operator=
(
const FPThreadsSharedMutex& |
HAL/PThreadsSharedMutex.h |