Thread
PHP Manual

Thread::join

(PECL pthreads >= 0.0.33)

Thread::joinJoin with the referenced Thread.

说明

final public mixed Thread::join ( void )

Join with the referenced Thread, and, dependant on implementation return to the caller the return value of Thread::run. A Thread can only be joined by one context, the programmer should use state detection to avoid programming error.

参数

此函数没有参数。

返回值


Thread
PHP Manual