int vortex_async_queue_ref_count ( VortexAsyncQueue queue)

Returns current reference counting for the provided queue.

Parameters
queueThe async queue to get reference counting from.
Returns
The reference counting or -1 if it fails.

References vortex_mutex_lock(), and vortex_mutex_unlock().