int vortex_async_queue_length ( VortexAsyncQueue 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 vortex_mutex_lock(), and vortex_mutex_unlock().