int vortex_async_queue_length ( VortexAsyncQueue queue  ) 

Allows to get current queue status.

Parameters:
queue The 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.