Swoole\Process::signal

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Description

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

Parameters

signal_no

callback

Return Values

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