PHPDaemon\Thread\Master::sigint PHP Method

sigint() protected method

Handler for the SIGINT (shutdown) signal in master process. Shutdown.
protected sigint ( ) : void
return void
    protected function sigint()
    {
        if (Daemon::$config->logsignals->value) {
            $this->log('Caught SIGINT.');
        }
        $this->signalToChildren(SIGINT);
        $this->shutdown(SIGINT);
    }