FTaskGraphInterface::BroadcastSlow_OnlyUseForSpecialPurposes

A (slow) function to call a function on every known thread, both named and workers

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

static void BroadcastSlow_OnlyUseForSpecialPurposes
(
    bool bDoTaskThreads,
    bool bDoBackgroundThreads,
    TFunction< void CurrentThread)> & Callback
)

Remarks

A (slow) function to call a function on every known thread, both named and workers

Parameters

Parameter

Description

Callback

function to call prior to shutting down the taskgraph

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