C4 Engine Terathon Software C4 Engine API Documentation

• System Utilities

API Links
Developer Links

class JobMgr

Defined in:  C4Threads.h
The Job Manager class.
Definition

class JobMgr : public Manager<JobMgr>

Member Functions
JobMgr::GetWorkerThreadCount Returns the total number of worker threads.
JobMgr::SubmitJob Submits a job for execution.
JobMgr::CancelJob Cancels a single job.
JobMgr::CancelJobArray Cancels one or more jobs.
JobMgr::FinishBatch Waits for the completion of a batch.
Description
The JobMgr class manages the multithreaded job processing capabilities of the C4 Engine. The single instance of the Job Manager is constructed during an application's initialization and destroyed at termination.

The Job Manager's member functions are accessed through the global pointer TheJobMgr.

See Also

Job

BatchJob

Batch