1
0
forked from Rativel/BurritOS

decrease some dependencies

This commit is contained in:
Quentin Legot
2023-03-15 17:57:53 +01:00
parent 6dd0cbcc87
commit fa64d4314d
4 changed files with 38 additions and 39 deletions

View File

@@ -49,7 +49,8 @@ impl System {
/// Sets a thread asleep
///
pub fn thread_sleep(&mut self, thread: Rc<RefCell<Thread>>) {
self.thread_manager.thread_sleep(self, thread);
let machine = self.get_machine();
self.thread_manager.thread_sleep(machine, thread);
}
// GETTERS