PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

parallel\Runtime::kill

(0.8.0)

parallel\Runtime::killRuntime Join

说明

public parallel\Runtime::kill ( void ) : void

Shall attempt to force the runtime to shutdown.

Note:

Tasks scheduled for execution will not be executed, the currently running task shall be interrupted.

Warning

Internal function calls in progress cannot be interrupted.

Exceptions

Warning

Shall throw \parallel\Runtime\Error\Closed if Runtime was closed.