略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: parallel\Runtime::kill

2024-12-21

parallel\Runtime::kill

(0.8.0)

parallel\Runtime::killRuntime Join

说明

public parallel\Runtime::kill(): void

Shall attempt to force the runtime to shutdown.

注意:

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

警告

Internal function calls in progress cannot be interrupted.

Exceptions

警告

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/parallel-runtime.kill.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3