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 |
|---|---|---|---|
| ThreadPool | Private | A map of worker threads to their corresponding runnable thread objects. |
| 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
StartupModuleandShutdownModulefunctions.No initialization dependencies are noted in the provided code.