parallel\bootstrap
PHP Manual
PHP Manual»Functional API»parallel\bootstrap

parallel\bootstrap

(1.0.0)

parallel\bootstrap — Bootstrapping

Description

function parallel\bootstrap(string $file): void

Shall use the provided file to bootstrap all runtimes created for automatic scheduling via parallel\run().

Parameters

file

Path to the file to bootstrap all runtimes.

Return Values

No value is returned.

Errors/Exceptions

Warning

Shall throw parallel\Runtime\Error\Bootstrap if previously called for this process.

Warning

Shall throw parallel\Runtime\Error\Bootstrap if called after parallel\run().

To Top