Scheduling class support

This commit is contained in:
徐启航
2024-08-17 08:06:35 +00:00
committed by Tate, Hongliang Tian
parent a260411a2a
commit 878f3f3760
17 changed files with 1062 additions and 32 deletions

View File

@ -138,8 +138,8 @@ where
// `dequeue_current` method and nothing bad will happen. This may need to be revisited
// after more complex schedulers are introduced.
current = local_rq.dequeue_current();
local_rq.update_current(UpdateFlags::Wait);
current = local_rq.dequeue_current();
}
if let Some(next_task) = local_rq.pick_next_current() {