Skip to main content

pop_first

Function pop_first 

Source
pub fn pop_first<M: Memory + Copy>(m: M, queue: u64, hold: bool) -> u64
Expand description

Remove and return the first task by deadline, or 0 if the queue is empty. With hold, the task is held for the caller.