编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 其它服务 lightweight directory access protocolphp 针对各数据库系统对应的扩展 paradox file accessphp 进程控制扩展 parallelphp xml 操作 sdo xml data access servicephp parallel the parallel channel classphp eio 函数 change file last access and modification timesphp ktaglib mpeg file returns an object that provides access to the audio propertiesphp 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 input inputsphp parallel runtime runtime joinphp parallel runtime parallel executionphp 预定义常量 posix access constantsphp swoole channel write and push data into swoole channel.php swoole channel get stats of swoole channel.
关注编程学问公众号
编程学问网 湘ICP备20001732号