void valvula_async_queue_safe_unref ( ValvulaAsyncQueue **  queue)

Allows to perform a safe unref operation (nullifying the caller's queue reference).

Parameters
queueThe queue where to perform the safe unref operation.

References valvula_cond_destroy(), valvula_mutex_destroy(), valvula_mutex_lock(), and valvula_mutex_unlock().