int vortex_channel_pool_get_available_num ( VortexChannelPool pool)

Allows to get the number of channels that are available to be used on the pool (channels that can be selected by vortex_channel_pool_get_next_ready).

Parameters
poolThe channel pool to check for available number of channels.
Returns
The number of channel available or -1 if it fails.

See also vortex_channel_pool_get_num which returns the total amount of channels available no matter if they are busy or ready.