W3cubDocs

/PHP

Thread::detach

(PECL pthreads < 3.0.0)

Thread::detachExecution

Warning

This method has been removed in pthreads v3.

Description

public Thread::detach ( ) : void

Detaches the referenced Thread from the calling context, dangerous!

Warning

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

Parameters

This function has no parameters.

Return Values

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/thread.detach.php