PHP 7.4.0 alpha 2 Released

parallel\Runtime::__construct

(0.8.0)

parallel\Runtime::__constructRuntime Construction

Описание

public parallel\Runtime::__construct ( void )

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top