![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SharedMutex.h>
Classes | |
| struct | FParams |
Public Member Functions | |
| constexpr | FSharedMutex ()=default |
| FSharedMutex (const FSharedMutex &)=delete | |
| FSharedMutex & | operator= (const FSharedMutex &)=delete |
| bool | IsLocked () const |
| bool | TryLock () |
| void | Lock () |
| void | Unlock () |
| bool | IsLockShared () const |
| bool | TryLockShared () |
| void | LockShared () |
| void | UnlockShared () |
A four-byte shared mutex that is not fair and does not support recursive locking.
Prefer FMutex when shared locking is not required. All new shared locks will wait when any thread is waiting to take an exclusive lock. An exclusive lock and a shared lock may not be simultaneously held by the same thread.
|
constexprdefault |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |