FGraphEvent::DispatchSubsequents

"Complete" the event.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h

Include

#include "Async/TaskGraphInterfaces.h"

Source

/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp

Syntax

void DispatchSubsequents
(
    ENamedThreads::Type CurrentThreadIfKnown
)

Remarks

"Complete" the event. This grabs the list of subsequents and atomically closes it. Then for each subsequent it reduces the number of prerequisites outstanding and if that drops to zero, the task is queued.

Parameters

Parameter

Description

CurrentThreadIfKnown

if the current thread is known, provide it here. Otherwise it will be determined via TLS if any task ends up being queued.

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