mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-29 04:13:24 +00:00
Scheduling class support
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
a260411a2a
commit
878f3f3760
@ -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() {
|
||||
|
Reference in New Issue
Block a user