Navigation
API > API/Runtime > API/Runtime/Core
A system-wide mutex for Unix. Uses exclusive file locking.
| Name | FUnixSystemWideMutex |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformMutex.h |
| Include Path | #include "Unix/UnixPlatformMutex.h" |
Syntax
class FUnixSystemWideMutex
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnixSystemWideMutex
(
const FUnixSystemWideMutex& |
Unix/UnixPlatformMutex.h | ||
FUnixSystemWideMutex
(
const FString& InName, |
Construct a named, system-wide mutex and attempt to get access/ownership of it. | Unix/UnixPlatformMutex.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FUnixSystemWideMutex() |
Destructor releases system-wide mutex if it is currently owned. | Unix/UnixPlatformMutex.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FileHandle | int32 | Unix/UnixPlatformMutex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsValid() |
Does the calling thread have ownership of the system-wide mutex? | Unix/UnixPlatformMutex.h | |
void Release() |
Releases system-wide mutex if it is currently owned. | Unix/UnixPlatformMutex.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnixSystemWideMutex & operator=
(
const FUnixSystemWideMutex& |
Unix/UnixPlatformMutex.h |