scheduler done

This commit is contained in:
Quentin Legot
2023-03-01 10:11:19 +01:00
committed by François Autin
parent adce79aaa8
commit e3e217c57f
3 changed files with 49 additions and 4 deletions

View File

@ -1,3 +1,8 @@
use crate::kernel::thread::Thread;
pub static g_current_thread: Box<Option<Thread>> = Box::new(Option::None);
pub static g_thread_to_be_destroyed: Box<Option<Thread>> = Box::new(Option::None);
pub enum ObjectType {
SEMAPHORE_TYPE,