![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UnixPlatformMutex.h>
Public Member Functions | |
| FUnixSystemWideMutex (const FUnixSystemWideMutex &)=delete | |
| FUnixSystemWideMutex & | operator= (const FUnixSystemWideMutex &)=delete |
| CORE_API | FUnixSystemWideMutex (const FString &InName, FTimespan InTimeout=FTimespan::Zero()) |
| CORE_API | ~FUnixSystemWideMutex () |
| CORE_API bool | IsValid () const |
| CORE_API void | Release () |
A system-wide mutex for Unix. Uses exclusive file locking.
|
delete |
|
explicit |
Construct a named, system-wide mutex and attempt to get access/ownership of it.
| UE::FUnixSystemWideMutex::~FUnixSystemWideMutex | ( | ) |
Destructor releases system-wide mutex if it is currently owned.
| bool UE::FUnixSystemWideMutex::IsValid | ( | ) | const |
Does the calling thread have ownership of the system-wide mutex?
|
delete |
| void UE::FUnixSystemWideMutex::Release | ( | ) |
Releases system-wide mutex if it is currently owned.