C4 Engine Terathon Software C4 Engine API Documentation

• System Utilities

API Links
Developer Links

class Batch

Defined in:  C4Threads.h
The Batch class represents a batch of jobs on which the main thread can wait before continuing execution.
Definition

class Batch

Constructor

Batch();

Description
The Batch class is a container for a group of BatchJob objects. When a batch job is submitted to the Job Manager using the JobMgr::SubmitJob function, the Batch object can be specified as the second parameter. This causes the batch job to be added to the batch and queued for execution. The main thread can be blocked until all of the jobs in a batch have completed by calling the JobMgr::FinishBatch function.
See Also

BatchJob

JobMgr