Oberon || Library || Module Index || Search Engine || Definition || Module
TYPE Job = POINTER TO JobRec; TYPE JobRec = RECORD (Disciplines.ObjectRec) END; TYPE Procedure = PROCEDURE (job: Job);
PROCEDURE Submit(job: Job; group: Disciplines.Object; priority: PrioritySchedulers.Priority; proc: Procedure);
PROCEDURE CreateCondition(VAR condition: Conditions.Condition; job: Job);
Submit submits job to the task group that is associated with group. If group was never passed before to Submit, a new task group will be created. The specified priority is passed to PrioritySchedulers.SetPriority for the task executing proc.
CreateCondition, like its counterpart in Jobs, creates a condition that allows to wait for job being completed.
Oberon || Library || Module Index || Search Engine || Definition || Module