create()
create(string $name, integer $workerNum = null, array $args = array(), integer $ipcType, string $msgQueueKey = null) : \Swoole\Process\Pool
创建进程池 本方法无法在控制器中使用 返回\Swoole\Process\Pool对象实例
Parameters
string | $name | |
integer | $workerNum | 指定工作进程的数量 |
array | $args | |
integer | $ipcType | 进程间通信的模式,默认为0表示不使用任何进程间通信特性 |
string | $msgQueueKey |