parallel\Runtime::__construct

Runtime Construction

説明

public parallel\Runtime::__construct()

Shall construct a new runtime without bootstrapping.

public parallel\Runtime::__construct(string $bootstrap)

Shall construct a bootstrapped runtime.

パラメータ

bootstrap

The location of a bootstrap file, generally an autoloader.

Exceptions

警告

Shall throw parallel\Runtime\Error if thread could not be created

警告

Shall throw parallel\Runtime\Bootstrap if bootstrapping failed