int vortex_channel_get_outstanding_messages ( VortexChannel channel,
int *  outstanding_limit 
)

Allows to get number of unreplied message (MSG) that are waiting on the provided channel, and optionally, also returns the outstanding limit (if any).

Parameters
channelThe channel where the number of pending unreplied message will be returned.
outstanding_limitOptional reference that, if provided, will hold the current outstanding limit.
Returns
The number of unreplied message frames (MSG).

References vortex_mutex_lock(), and vortex_mutex_unlock().