Swoole\Server::shutdown

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server::shutdownShutdown the master server process, this function can be called in worker processes.

说明

public Swoole\Server::shutdown ( void ) : void

参数

此函数没有参数。

返回值

相关文章
php gupnp 函数 sets a function to be called at regular intervalsphp firebird/interbase 函数 register a callback function to be called when events are postedphp swoole http server bind callback function to http server by event name.php swoole process change the process to be a daemon process.php swoole process stop the child processes.php swoole process get the stats of the message queue used as the communication method between processes.php swoole process create a message queue as the communication method between the parent process and child processes.php swoole process wait for the events of child processes.php swoole process write data into the pipe and communicate with the parent process or child processes.php swoole server trigger a callback function after a period of time.php swoole server delay execution of the callback function at the end of current eventloop.php swoole server used in task process for sending result to the worker process when the task is finished.php swoole server register a callback function by event name.php swoole server set the connection to be protected mode.php swoole server restart all the worker process.php swoole server send message to worker processes by id.php swoole server shutdown the master server process this function can be called in worker processes.php swoole server send data to the task worker processes.php swoole server send data to the task worker processes in blocking way.php swoole server repeats a given function at every given time interval.
关注编程学问公众号