ThreadedTaskManager::AddTask

ThreadedTaskManager::AddTask
bool AddTask(Task* ptask);
Description

AddTask 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.

Parameters
Parameters 
Description 
Task* ptask 
Pointer to the task to execute. 
Return Value

A Boolean value of true if a task is added to the queue for execution otherwise false.