Worker::getStacked

Worker::getStacked

(PECL pthreads >= 2.0.0)

Worker::getStackedGets the remaining stack size

Description

public int Worker::getStacked ( void )

Returns the number of tasks left on the stack

Parameters

This function has no parameters.

Return Values

Returns the number of tasks currently waiting to be executed by the worker