phpday 2027 - Call for Papers

parallel\Runtime::__construct

(0.8.0)

parallel\Runtime::__construct — Runtime Construction

Description

public function parallel\Runtime::__construct()

Shall construct a new runtime without bootstrapping.

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

Shall construct a bootstrapped runtime.

Parameters

bootstrap

The location of a bootstrap file, generally an autoloader.

Exceptions

Warning

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

Warning

Shall throw parallel\Runtime\Bootstrap if bootstrapping failed

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top