apr_queue_trypush

Function apr_queue_trypush 

Source
pub unsafe extern "C" fn apr_queue_trypush(
    queue: *mut apr_queue_t,
    data: *mut c_void,
) -> apr_status_t
Expand description

push/add an object to the queue, returning immediately if the queue is full

@param queue the queue @param data the data @returns APR_EINTR the blocking operation was interrupted (try again) @returns APR_EAGAIN the queue is full @returns APR_EOF the queue has been terminated @returns APR_SUCCESS on a successful push