...
Name | Description |
---|---|
GetNumThreads() | The number of threads in the thread group. |
Init() | Init() and Shutdown() will be called on the thread which calls Run() (ie the update manager worker thread) |
Release() | This function will be called when MultithreadCpuWorker is destroyed. |
Release() | Free this object that was created within the Enlighten libraries. |
Run(TaskProcessor *, const char *) | Run tasks using threads in the thread group. |
Shutdown() | One-time shut down function. |
...
Free this object that was created within the Enlighten libraries.
Expect this to behave in a similar way to calling 'delete(this)'
...
The array of task processors will have the number of elements returned by GetNumThreads(). The name parameter will describe which Enlighten processing stage is being run, for profiling purposes.
...