Worker::getStackedGets the remaining stack size Beschreibung
public int Worker::getStacked
( void
)
Returns the number of tasks left on the stack Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteReturns the number of tasks currently waiting to be executed by the worker Beispiele
Beispiel #1 A basic example of Worker::getStacked
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: There are 5 stacked tasks |