/// Pop the next task, which has a higher or the same priority as `prio`
Pop the next task, which has a higher or the same priority as `prio`
Pop the next task which has a higher or the same priority as ` prio `
pub fn pop_with_prio(&mut self, prio: TaskPriority) -> Option<Rc<RefCell<Task>>> {
		if let Some(i) = msb(self.prio_bitmap) {
			if i >= prio.into() as u64 {
				return self.pop_from_queue(i as usize);
			}
		}
		None
	}
pub fn pop_with_prio ( & mut self , prio : TaskPriority ) -> Option < Rc < RefCell < Task > > > { if let Some ( i ) = msb ( self . prio_bitmap ) { if i >= prio . into ( ) as u64 { return self . pop_from_queue ( i as usize ) ; } } None }
Pop the next task, which has a higher or the same priority as `prio`
Pop the next task which has a higher or the same priority as ` prio `
&mut self
prio
TaskPriority