FRunnable::GetSingleThreadInterface

Gets single thread interface pointer used for ticking this runnable when multi-threading is disabled.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/Runnable.h

Include

#include "HAL/Runnable.h"

Syntax

virtual FSingleThreadRunnable * GetSingleThreadInterface()

Remarks

Gets single thread interface pointer used for ticking this runnable when multi-threading is disabled. If the interface is not implemented, this runnable will not be ticked when FPlatformProcess::SupportsMultithreading() is false.

Returns

Pointer to the single thread interface or nullptr if not implemented.

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