PHP - Manual: Swoole\Process::kill
2024-12-21
(PECL swoole >= 1.9.0)
Swoole\Process::kill — Send signal to the child process.
$pid
, int $signal_no
= ?): boolSend signal to the child process.
pid
Process pid
signal_no
Signal to be sent
成功时返回 true
, 或者在失败时返回 false
。