Limen Framework 0.1 Help

FThreadingStatics

Overview

FThreadingStatics is a utility class that encapsulates functionality related to thread management in Unreal Engine. It provides a static method MakeRunnableThread to create a new thread for a given runnable object, allowing for customization of the thread's name, priority, and stack size.

Properties

Type

Name

Access

Description

None

None

None

No significant properties are defined in this class.

Functions

Return Type

Signature

Description

TUniquePtr

MakeRunnableThread(const TSharedRef

& InRunnable, const TCHAR* ThreadName, EThreadPriority Priority = TPri_Normal, uint32 InStackSize = 0)

Creates a new thread for the specified runnable object with optional customization of the thread's name, priority, and stack size.

Usage & Implementation Notes

  • Threading Constraints: This function creates a new thread, which must be managed carefully to avoid resource leaks or deadlocks.

  • Replication Requirements: Not applicable as this is a utility class for managing threads on the server side.

  • Memory Lifetime Management: The returned TUniquePtr<FRunnableThread> ensures that the thread is properly cleaned up when it goes out of scope, preventing memory leaks.

  • Initialization Dependencies: None. This function can be called at any time after the engine has initialized.

22 May 2026