略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Thread::detach

2025-02-21

Thread::detach

(PECL pthreads < 3.0.0)

Thread::detach执行

Warning

pthreads v3 中已经移除此方法.

说明

public Thread::detach ( void ) : void

从调用上下文中将引用线程分离出来,非常危险!

Warning

本方法会引发未定义的、不安全的行为。 通常情况下不会用到本方法,提供这个方法主要是出于完备性以及高级用法的考虑。

参数

此函数没有参数。

返回值

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/thread.detach.php

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