PHP » GoLang |
login |
register |
about
|
GoLang Worker::getStacked
request it (337)
GoLang replacement for PHP's Worker::getStacked
[edit | history]
Worker::getStacked(PECL pthreads >= 2.0.0) Worker::getStacked — Gets the remaining stack size Description
public int Worker::getStacked
( void
)
Returns the number of tasks left on the stack ParametersThis function has no parameters. Return ValuesReturns the number of tasks currently waiting to be executed by the worker Examples
Example #1 A basic example of Worker::getStacked
<?php The above example will output: There are 5 stacked tasks |
more
Recently updated
more
Most requested
more
Last requests
|