« parallel\Channel
parallel\Channel::make »

parallel\Channel::__construct

(1.1.0)

parallel\Channel::__construct — Channel Construction

説明

public function parallel\Channel::__construct()

Shall make an anonymous unbuffered channel

public function parallel\Channel::__construct(int $capacity)

Shall make an anonymous buffered channel with the given capacity

パラメータ

capacity

May be Channel::Infinite or a positive integer

関連キーワード:
Channel   parallel   construct   Construction   make   capacity   anonymous   channel   unbuffered   buffered   given   Infinite   positive   integer
関連する関数・ページ:
parallel-channel.make   parallel-channel.open   parallel-channel.send   parallel-channel.close   parallel-channel.recv   class.parallel-channel