Merge branch 'thread_scheduler' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into thread_scheduler

This commit is contained in:
François Autin
2023-03-13 15:09:50 +01:00
3 changed files with 31 additions and 1 deletions

View File

@ -30,6 +30,7 @@ impl<'a> System<'a> {
}
}
/// use thread_manager setter to send it system instance
pub fn freeze(&'a mut self) {
self.thread_manager.system.set(Option::Some(self));
}