FSingleThreadEvent

Fake event object used when running with only one thread.

Windows
MacOS
Linux

Inheritance Hierarchy

FEvent

FSingleThreadEvent

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/SingleThreadEvent.h

Include

#include "Misc/SingleThreadEvent.h"

Syntax

class FSingleThreadEvent : public FEvent

Remarks

Fake event object used when running with only one thread.

Constructors

Name Description

Public function

FSingleThreadEvent()

Default constructor.

Overridden from FEvent

Name Description

Public function Virtual

bool

 

Create

(
    bool bIsManualReset
)

Creates the event.

Public function Virtual

bool

 

IsManualReset()

Whether the signaled state of this event needs to be reset manually.

Public function Virtual

void

 

Reset()

Resets the event to an untriggered (waitable) state.

Public function Virtual

void

 

Trigger()

Triggers the event so any waiting threads are activated.

Public function Virtual

bool

 

Wait

(
    uint32 WaitTime,
    const bool bIgnoreThreadIdleStats
)

Waits the specified amount of time for the event to be triggered.

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