int valvula_async_queue_ref_count ( ValvulaAsyncQueue 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 valvula_mutex_lock(), and valvula_mutex_unlock().