parallel\Channel::make
(0.9.0)
parallel\Channel::make — Access
Description
Shall make an unbuffered channel with the given name
Shall make a buffered channel with the given name and capacity
Parameters
name
The name of the channel.
capacity
May be Channel::Infinite or a positive integer
Exceptions
Warning
Shall throw parallel\Channel\Error\Existence if channel already exists.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
