parallel\bootstrap

(1.0.0)

parallel\bootstrapBootstrapping

说明

parallel\bootstrap(string $file): void

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

参数

file

Path to the file to bootstrap all runtimes.

返回值

没有返回值。

错误/异常

警告

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

警告

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