Searched refs:NEED_SCHEDULE (Results 1 – 7 of 7) sorted by relevance
62 - ``CpuRunQueue::resched_current``: 若上一步计算的时间超时则到这一步,这里会设置进程标志为``NEED_SCHEDULE``.64 - 退出中断:退出中断时检查当前进程是否存在标志位``NEED_SCHEDULE``,若存在则调用``__schedule``进行调度。
17 if pcb.flags().contains(ProcessFlags::NEED_SCHEDULE) { in arch_idle_func()
45 if (current_pcb_flags().contains(ProcessFlags::NEED_SCHEDULE)) in x86_64_do_irq()
483 && self.current().flags().contains(ProcessFlags::NEED_SCHEDULE) in check_preempt_currnet()635 if unlikely(current.flags().contains(ProcessFlags::NEED_SCHEDULE)) { in resched_current()651 .insert(ProcessFlags::NEED_SCHEDULE); in resched_current()904 prev.flags().remove(ProcessFlags::NEED_SCHEDULE); in __schedule()
1599 if curr.flags().contains(ProcessFlags::NEED_SCHEDULE) { in check_preempt_currnet()
320 pcb.flags().insert(ProcessFlags::NEED_SCHEDULE); in mark_sleep()344 pcb.flags().insert(ProcessFlags::NEED_SCHEDULE); in mark_stop()594 const NEED_SCHEDULE = 1 << 1; constant
1222 .contains(ProcessFlags::NEED_SCHEDULE) in handle()