int vortex_channel_ref_count ( VortexChannel channel)

Allows to get current reference counting for the channel provided.

Parameters
channelThe channel that is checked for its reference counting.
Returns
Number of references for the channel, or -1 if it fails.

References vortex_mutex_lock(), and vortex_mutex_unlock().