void vortex_payload_feeder_free ( VortexPayloadFeeder feeder)

Function that signal and releases all resources associated to the feeder if the reference counting reaches 0.

This function is equivalent to vortex_payload_feeder_unref.

NOTE: in most cases you don't need to call this function because release operation is usually done by the send operation (including when the send operation fails).

Parameters
feederThe feeder to be released.

References PAYLOAD_FEEDER_RELEASE, vortex_channel_unref2(), vortex_mutex_destroy(), vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_payload_feeder_unref().