Swoole\Process::signal

(PHP 5 >= 5.2.0, PHP 7, 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.

关注编程学问公众号