Php/docs/parallel-sync.construct

提供:Dev Guides
< Php
移動先:案内検索

parallel\Sync::__construct

(1.1.0)

parallel\Sync::__constructConstruction


説明

public parallel\Sync::__construct ( )

Shall construct a new synchronization object with no value

public parallel\Sync::__construct ( scalar $value )

Shall construct a new synchronization object containing the given scalar value


Exceptions

警告 Shall throw parallel\Sync\Error\IllegalValue if value is non-scalar.