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 firebird/interbase 函数 register a callback function to be called when events are postedphp 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 mmap map a file into memory and return the stream resource which can be used by php stream operations.php swoole process change the process to be a daemon process.php swoole process stop the child processes.php swoole process send signal to the child processes.php swoole process write data into the pipe and communicate with the parent process or 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 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 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 websocket server register event callback function
关注编程学问公众号