int vortex_async_queue_waiters ( VortexAsyncQueue queue  ) 

Allows to get current waiting threads on the provided queue.

queue The queue that is being used to request the number of waiting threads.
The number of waiting threads or -1 if it fails. The only way to make the function to fail is to provide a null queue reference.