PHPDaemon\Thread\IPC::sigint PHP Method

sigint() protected method

Handler of the SIGINT (hard shutdown) signal in worker process.
protected sigint ( ) : void
return void
    protected function sigint()
    {
        if (Daemon::$config->logsignals->value) {
            $this->log('caught SIGINT.');
        }
        $this->shutdown(true);
    }