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