Swoole\Process\ProcessManager->setIPCType

Declaration

<?php
Swoole\Process\ProcessManager->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