Thread
PHP Manual

Thread::detach

(PECL pthreads >= 2.0.0)

Thread::detachExecution

说明

public void Thread::detach ( void )

Detaches the referenced Thread from the calling context, dangerously!

Warning

This method can cause undefined, unsafe behaviour. It should not usually be used, it is present for completeness and advanced use cases.

参数

此函数没有参数。

返回值


Thread
PHP Manual