Module |
|
Header |
/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h |
Include |
#include "GenericPlatform/GenericPlatformProcess.h" |
Source |
/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp |
static FSemaphore * NewInterprocessSynchObject
(
const TCHAR * Name,
bool bCreate,
uint32 MaxLocks
)
Creates or opens an interprocess synchronization object.
Pointer to heap allocated semaphore object. Caller is responsible for deletion.
Parameter |
Description |
---|---|
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). |