zephyr::raw

Function k_queue_insert

source
pub unsafe extern "C" fn k_queue_insert(
    queue: *mut k_queue,
    prev: *mut c_void,
    data: *mut c_void,
)
Expand description

@brief Inserts an element to a queue.

This routine inserts a data item to @a queue after previous item. A queue data item must be aligned on a word boundary, and the first word of the item is reserved for the kernel’s use.

@funcprops \isr_ok

@param queue Address of the queue. @param prev Address of the previous data item. @param data Address of the data item.