zephyr::raw

Function sys_dlist_dequeue

Source
pub unsafe extern "C" fn sys_dlist_dequeue(node: *mut _dnode)
Expand description

@brief remove a specific node from a list

Like :c:func:sys_dlist_remove(), this routine removes a specific node from a list. However, unlike :c:func:sys_dlist_remove(), this routine does not re-initialize the removed node. One significant implication of this difference is that the function :c:funcsys_dnode_is_linked() will not work on a dequeued node.

The list is implicit from the node. The node must be part of a list. This and other sys_dlist_*() functions are not thread safe.

@param node the node to dequeue