forked from Rativel/BurritOS
decrease some dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user