pub unsafe extern "C" fn k_queue_remove(
queue: *mut k_queue,
data: *mut c_void,
) -> bool
Expand description
@brief Remove an element from a queue.
This routine removes data item from @a queue. The first word of the data item is reserved for the kernel’s use. Removing elements from k_queue rely on sys_slist_find_and_remove which is not a constant time operation.
@note @a timeout must be set to K_NO_WAIT if called from ISR.
@funcprops \isr_ok
@param queue Address of the queue. @param data Address of the data item.
@return true if data item was removed