ThreadedTaskManager

ThreadedTaskManager
Scaleform::GFx::State
    Scaleform::GFx::TaskManager
        Scaleform::GFx::ThreadedTaskManager
Declaration
class ThreadedTaskManager : public TaskManager;
Description

ThreadedTaskManager is the implementation of TaskManager interface based on thread pool. Worker threads for a particular task type can be added by call to AddWorkerThreads method. 

A task is added to the task manager under the following circumstances: 

1. If no worker threads with a given task type were added to the task manager, then a new temporary thread is created for running only this task. 

2. If there are worker nodes for a given task in the thread pool but all of them are busy with running other tasks, then this task will be added to the task queue.

Methods
Method 
Description 
Instructs the task manager to abandon the task which was previously added to the queue. 
Adds a task for execution; the manager is responsible for executing a task and keeping a reference count on it until it is completed or abandoned. 
Adds a specified number of worker threads working on a given processor. 
Instructs the task manager to stop accepting any new task and calls Task::OnAbandon method for all currently running tasks. 
Constructs a task manager and specifies thread stack size required for each task. 
File

GFx_TaskManager.h