Thread
PHP Manual

Thread::getStacked

(PECL pthreads >= 0.0.33)

Thread::getStackedReturn the number of items on the referenced Threads stack.

说明

final public int Thread::getStacked ( void )

Return the number of items waiting to be executed by the referenced Thread.

参数

此函数没有参数。

返回值

An integral number representing the number of items left on the stack.


Thread
PHP Manual