Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformProcess
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSemaphore * NewInterprocessSynchObject
(
const FString& Name, |
Creates or opens an interprocess synchronization object. | GenericPlatform/GenericPlatformProcess.h | |
static FSemaphore * NewInterprocessSynchObject
(
const TCHAR* Name, |
Creates or opens an interprocess synchronization object. | GenericPlatform/GenericPlatformProcess.h |
NewInterprocessSynchObject(const FString &, bool, uint32)
Description
Creates or opens an interprocess synchronization object.
| Name | NewInterprocessSynchObject |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h |
| Include Path | #include "GenericPlatform/GenericPlatformProcess.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp |
static FSemaphore * NewInterprocessSynchObject
(
const FString & Name,
bool bCreate,
uint32 MaxLocks
)
Pointer to heap allocated semaphore object. Caller is responsible for deletion.
Parameters
| Name | Remarks |
|---|---|
| Name | name (so we can use it across processes). |
| bCreate | If true, the function will try to create, otherwise will try to open existing. |
| MaxLocks | Maximum amount of locks that the semaphore can have (pass 1 to make it act as mutex). |
NewInterprocessSynchObject(const TCHAR *, bool, uint32)
Description
Creates or opens an interprocess synchronization object.
| Name | NewInterprocessSynchObject |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h |
| Include Path | #include "GenericPlatform/GenericPlatformProcess.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp |
static FSemaphore * NewInterprocessSynchObject
(
const TCHAR * Name,
bool bCreate,
uint32 MaxLocks
)
Pointer to heap allocated semaphore object. Caller is responsible for deletion.
Parameters
| Name | Remarks |
|---|---|
| Name | name (so we can use it across processes). |
| bCreate | If true, the function will try to create, otherwise will try to open existing. |
| MaxLocks | Maximum amount of locks that the semaphore can have (pass 1 to make it act as mutex). |