int myqtt_async_queue_length ( MyQttAsyncQueue queue)

Allows to get current queue status.

Parameters
queueThe queue to oper.
Returns
The number of items stored minus the number of thread waiting. The function returns 0 if the reference received is null.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().