PHP » GoLang |
login |
register |
about
|
GoLang pht\Queue::size
request it (398)
GoLang replacement for PHP's pht\Queue::size
[edit | history]
pht\Queue::size(PECL pht >= 0.0.1) pht\Queue::size — Gets the size of the queue Description
public int pht\Queue::size
( void
)
Returns the current size of the queue. This operation requires a pht\Queue's mutex lock to be held if it is being used by multiple threads. ParametersThis function has no parameters. Return ValuesThe size of the queue. Examples
Example #1 Getting a queue's size
<?php The above example will output: int(2) |
more
Recently updated
more
Most requested
more
Last requests
|