This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.


void Enlighten::TaskProcessor::operator()


public: void operator()()


Operator () overload.


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.

  • No labels