Function rusteron_archive::bindings::aeron_subscription_image_retain
source ยท pub unsafe extern "C" fn aeron_subscription_image_retain(
subscription: *mut aeron_subscription_t,
image: *mut aeron_image_t,
) -> c_int
Expand description
Retain the given image for access in the application.
Note: A retain call must have a corresponding release call. Note: Subscriptions are not threadsafe and should not be shared between subscribers.
@param subscription that image is part of. @param image to retain @return 0 for success and -1 for error.