UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MacPlatformMutex.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
8#include "Misc/Timespan.h"
9
10namespace UE
11{
12
15{
16public:
19
21 CORE_API explicit FMacSystemWideMutex(const FString& InName, FTimespan InTimeout = FTimespan::Zero());
22
25
31 CORE_API bool IsValid() const;
32
34 CORE_API void Release();
35
36private:
37 int32 FileHandle;
38};
39
43
44} // UE
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition MacPlatformMutex.h:15
FMacSystemWideMutex & operator=(const FMacSystemWideMutex &)=delete
CORE_API bool IsValid() const
Definition MacPlatformMutex.cpp:64
FMacSystemWideMutex(const FMacSystemWideMutex &)=delete
CORE_API void Release()
Definition MacPlatformMutex.cpp:69
CORE_API ~FMacSystemWideMutex()
Definition MacPlatformMutex.cpp:59
Definition GenericPlatformMutex.h:62
Definition AdvancedWidgetsModule.cpp:13
FPThreadsRecursiveMutex FPlatformRecursiveMutex
Definition AndroidPlatformMutex.h:12
FPThreadsSharedMutex FPlatformSharedMutex
Definition AndroidPlatformMutex.h:13
Definition Timespan.h:76
static FTimespan Zero()
Definition Timespan.h:747