编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 进程控制扩展 parallelphp xml 操作 sdo relational data access servicephp parallel the parallel channel classphp parallel the parallel events event type classphp swoole the swoole channel classphp eio 函数 change file last access and modification timesphp gmagick sets the depth of a particular image channelphp imagick gets the depth for a particular image channelphp imagick sets the depth of a particular image channelphp parallel channel closingphp parallel channel accessphp parallel channel accessphp parallel channel sharingphp parallel channel sharingphp parallel events input inputsphp parallel events input inputsphp parallel events targetsphp parallel runtime parallel executionphp 预定义常量 posix access constantsphp swoole channel get stats of swoole channel.
关注编程学问公众号
编程学问网 湘ICP备20001732号