Limen Framework 0.1 Help

FLimenThreadPoolModule

Overview

The FLimenThreadPoolModule class is a module interface for managing the startup and shutdown of the Limen ThreadPool. It inherits from IModuleInterface and overrides the StartupModule and ShutdownModule functions to handle initialization and cleanup tasks respectively.

Properties

Type

Name

Access

Description

TMap<TSharedRef<FPoolWorker, ESPMode::NotThreadSafe>, TSharedRef<FRunnableThread, ESPMode::NotThreadSafe>>

ThreadPool

Private

A map of worker threads to their corresponding runnable thread objects.

int32

ThreadCount

Private

The number of worker threads in the pool.

Functions

Return Type

Signature

Description

void

StartupModule() override

Initializes the module, setting up any necessary resources or configurations.

void

ShutdownModule() override

Cleans up and shuts down the module, releasing any allocated resources.

Usage & Implementation Notes

  • This module does not require special threading constraints or replication.

  • Memory lifetime management is handled internally within the StartupModule and ShutdownModule functions.

  • No initialization dependencies are noted in the provided code.

22 May 2026