parallel\Runtime::__construct

(0.8.0)

parallel\Runtime::__constructRuntime Construction

Descrierea

public parallel\Runtime::__construct ( void )

Shall construct a new runtime without bootstrapping.

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

Shall construct a bootstrapped runtime.

Parametri

bootstrap

The location of a bootstrap file, generally an autoloader.

Exceptions

Avertizare

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

Avertizare

Shall throw \parallel\Runtime\Bootstrap if bootstrapping failed