1
0
forked from Rativel/BurritOS

Implement thread#t_yield()

This commit is contained in:
Quentin Legot
2023-03-11 14:48:56 +01:00
parent e1283c9c42
commit 1f54ed35db
5 changed files with 18 additions and 12 deletions

View File

@@ -70,11 +70,11 @@ impl Thread {
}
pub fn save_simulator_state(&self) {
todo!();
// todo!(); // simulator state will maybe be removed so panic call is remove. See ucontext.rs
}
pub fn restore_simulator_state(&self) {
todo!();
// todo!(); // simulator state will maybe be removed so panic call is remove. See ucontext.rs
}
pub fn get_name(&self) -> String {