Add thread_sleep

This commit is contained in:
Quentin Legot
2023-03-13 20:55:46 +01:00
parent c0765270d7
commit 39e26e61bb
2 changed files with 28 additions and 9 deletions

View File

@ -29,9 +29,13 @@ impl Interrupt {
self.level
}
pub fn idle(&self) {
todo!();
}
}
#[derive(PartialEq, Clone, Copy)]
#[derive(PartialEq, Clone, Copy, Debug)]
pub enum InterruptStatus {
InterruptOff,
InterruptOn