Swoole\Process::signal

(PECL swoole >= 1.9.0)

Swoole\Process::signalSend signal to the child processes.

说明

public static Swoole\Process::signal(string $signal_no, callable $callback): void

参数

signal_no

callback

返回值

If signal sent successfully, it returns TRUE, otherwise it returns FALSE.