pub fn pop_first<M: Memory + Copy>(m: M, queue: u64, hold: bool) -> u64
Remove and return the first task by deadline, or 0 if the queue is empty. With hold, the task is held for the caller.
hold