Thread
PHP Manual

Thread::isRunning

(PECL pthreads >= 0.0.33)

Thread::isRunningTell if the referenced Thread is running.

说明

final public boolean Thread::isRunning ( void )

Will return true if the referenced Thread has been started, and not yet joined by another context.

参数

此函数没有参数。

返回值

A boolean indication of state.


Thread
PHP Manual