class Enlighten::TaskProcessor
TaskProcessor runs a loop for pulling tasks off the current queue until either the whole list is done, or an ILimiter tells it to stop.
Functions
Name | Description |
---|---|
operator()() | Operator () overload. |
SetData(MultithreadCpuWorkerCommon *, ILimiter *, Geo::s32) | A separate SetData function is required since MultithreadCpuWorker creates an array of TaskProcessors. |
Anchor | ||||
---|---|---|---|---|
|
void Enlighten::TaskProcessor::operator()
...
public: void operator()() const
...
Operator () overload.
Anchor | ||||
---|---|---|---|---|
|
void Enlighten::TaskProcessor::SetData
...
public: void SetData
(
MultithreadCpuWorkerCommon * worker,
ILimiter * limiter,
Geo::s32 threadId
)
...
A separate SetData function is required since MultithreadCpuWorker creates an array of TaskProcessors.