编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 directoryiterator get last access time of the current directoryiterator itemphp gearmanclient add a task to be run in parallelphp gearmanclient add a background task to be run in parallelphp gearmanclient add a high priority task to run in parallelphp gearmanclient add a high priority background task to be run in parallelphp gmagick separates a channel from the imagephp imagick sets image alpha channelphp parallel channel closingphp parallel channel accessphp parallel channel accessphp parallel channel sharingphp parallel channel sharingphp parallel future cancellationphp parallel future state detectionphp parallel future state detectionphp parallel future resolutionphp recursiveiteratoriterator access the current keyphp splfileinfo gets last access time of the filephp swoole channel construct a swoole channel
关注编程学问公众号
编程学问网 湘ICP备20001732号