forked from Rativel/BurritOS
implemented sc_lock_release
TODO : to implement lock_release in thread_manager
This commit is contained in:
@@ -282,6 +282,10 @@ impl ThreadManager {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn lock_release(&mut self, id: i32, machine: &mut Machine) -> Result<MachineOk, MachineError>{
|
||||
todo!()
|
||||
}
|
||||
|
||||
/// Currently running thread
|
||||
pub fn get_g_current_thread(&mut self) -> &Option<Rc<RefCell<Thread>>> {
|
||||
&self.g_current_thread
|
||||
|
||||
Reference in New Issue
Block a user