Thread
PHP Manual

Thread::unstack

(PECL pthreads >= 0.0.33)

Thread::unstackRemove items from the referenced Threads stack.

说明

final public int Thread::unstack ([ Object $work ] )

Remove an item, or all items if no parameters are present from the referenced Threads stack.

参数

work

Should be an object previous used as the parameter to Thread::stack()

返回值

The size of the stack after work was removed.


Thread
PHP Manual