编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « parallel\Channel::close
  • parallel\Channel::open »
  • PHP Manual
  • parallel\Channel
  • Access

parallel\Channel::make

(0.9.0)

parallel\Channel::make — Access

说明

public parallel\Channel::make ( string $name ) : Channel

Shall make an unbuffered channel with the given name

public parallel\Channel::make ( string $name , int $capacity ) : Channel

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

Exceptions

Warning

Shall throw \parallel\Channel\Error\Existence if channel already exists.

相关文章
php parallel the parallel channel classphp gearmanclient add a high priority task to run in parallelphp gearmanclient add a high priority background task to be run in parallelphp gearmanclient add a low priority task to run in parallelphp gmagick separates a channel from the imagephp imagick separates a channel from the imagephp imagickpixel gets the normalized value of the provided color channelphp parallel 简介php parallel channel closingphp parallel channel accessphp parallel channel accessphp parallel channel sharingphp parallel channel sharingphp parallel future state detectionphp parallel future resolutionphp parallel runtime runtime graceful joinphp recursiveiteratoriterator access the current keyphp swoole channel construct a swoole channelphp swoole channel destruct a swoole channel.php swoole channel read and pop data from swoole channel.
关注编程学问公众号
编程学问网 湘ICP备20001732号