Skip to main content

switch_queue_push

Function switch_queue_push 

Source
pub unsafe extern "C" fn switch_queue_push(
    queue: *mut switch_queue_t,
    data: *mut c_void,
) -> switch_status_t
Expand description

push/add a object to the queue, blocking if the queue is already full

@param queue the queue @param data the data @returns APR_EINTR the blocking was interrupted (try again) @returns APR_EOF the queue has been terminated @returns APR_SUCCESS on a successfull push