C.39 ParallelTask

Executes nested tasks in parallel.

Warning

This task is highly experimental, and will only work on *nix machines that have the PHP pcntl extension installed.

Table C.41: Attributes

NameTypeDescriptionDefaultRequired
threadCountIntegerMaximum number of threads / processes to use.n/aNo

C.39.1 Example

<parallel threadCount="4">
    <echo>Job 1</echo>
    <echo>Job 2</echo>
    <echo>Job 3</echo>
    <echo>Job 4</echo>
</trycatch>\u0000