class Batch
Defined in:
The C4Threads.h
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 Thread Manager using the ThreadMgr::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 ThreadMgr::FinishBatch
function.
See Also