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 eio 函数 can be to be called whenever there are pending requests that need finishingphp gupnp 函数 sets a function to be called at regular intervalsphp gearmanclient set a function to be called on task completionphp gearmanworker give the worker an identifier so it can be tracked when asking gearmand for the list of available workersphp swoole http server bind callback function to http server by event name.php swoole mmap map a file into memory and return the stream resource which can be used by php stream operations.php swoole process send signal to 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 server add a user defined swoole process to the server.php swoole server trigger a callback function after a period of time.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.
关注编程学问公众号