Icicle\Concurrent\Forking\Fork::signal PHP Method

signal() public method

public signal ( integer $signo )
$signo integer
    public function signal(int $signo)
    {
        if (0 === $this->pid) {
            throw new StatusError('The fork has not been started or has already finished.');
        }
        posix_kill($this->pid, (int) $signo);
    }