fix(kernel): fix kill wait-queue cleanup, RegionId tracking, ReleasePages ownership, and SwitchTo scheduler state
This commit is contained in:
@@ -43,6 +43,10 @@ impl PerCoreScheduler {
|
||||
self.current = None;
|
||||
}
|
||||
|
||||
pub fn set_current(&mut self, thread: ThreadId) {
|
||||
self.current = Some(thread);
|
||||
}
|
||||
|
||||
pub fn highest_waiting_priority(&self) -> Option<Priority> {
|
||||
self.queue.highest_priority()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user