FRunnable::GetSingleThreadInterface

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

Choose your operating system:

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.