FGenericPlatformProcess::CreateSynchEvent

Creates a new event.

Windows
MacOS
Linux

Deprecated

  • Please use GetSynchEventFromPool to create a new event, and ReturnSynchEventToPool to release the event.

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp

Syntax

static FEvent * CreateSynchEvent
(
    bool bIsManualReset
)

Remarks

Creates a new event.

Returns

A new event, or nullptr none could be created.

Parameters

Parameter

Description

bIsManualReset

Whether the event requires manual reseting or not.

See Also

GetSynchEventFromPool

ReturnSynchEventToPoolMessage to others in the future

don't try to delete this function as it isn't exactly deprecated

but it should only ever be called from FEventPool::GetEventFromPool()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss