Swoole\Process\Manager->setIPCType

4.x is outdated, please check the latest version 22.x


Latest version: pecl install openswoole-22.1.2

Declaration

<?php Swoole\Process\Manager->setIPCType(int $ipcType)

Parameters

ipcType

SWOOLE_IPC_NONE: disable IPC. SWOOLE_IPC_MSGQUEUE: use system msg queue for IPC, for adding new task message into the worker pool. SWOOLE_IPC_SOCKET: use Socket for IPC.

Return

Description

Set the IPC Type of the process manager.

Example

Last updated on August 31, 2022