PHPDaemon\Thread\Master::sigtstp PHP Method

sigtstp() protected method

Handler for the SIGTSTP (graceful stop all workers) signal in master process
protected sigtstp ( ) : void
return void
    protected function sigtstp()
    {
        if (Daemon::$config->logsignals->value) {
            $this->log('Caught SIGTSTP (graceful stop all workers).');
        }
        $this->signalToChildren(SIGTSTP);
        $this->shutdown(SIGTSTP);
    }