array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'parallel-channel.make.php', 1 => 'parallel\\Channel::make', ), 'up' => array ( 0 => 'class.parallel-channel.php', 1 => 'parallel\\Channel', ), 'prev' => array ( 0 => 'parallel-channel.construct.php', 1 => 'parallel\\Channel::__construct', ), 'next' => array ( 0 => 'parallel-channel.open.php', 1 => 'parallel\\Channel::open', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/parallel/parallel/channel/make.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(0.9.0)
parallel\Channel::make — Access
Shall make an unbuffered channel with the given name
Shall make a buffered channel with the given name and capacity
name
The name of the channel.
capacity
May be Channel::Infinite or a positive integer
Shall throw parallel\Channel\Error\Existence if channel already exists.