use crate::kernel::thread::Thread; pub static g_current_thread: Box> = Box::new(Option::None); pub static g_thread_to_be_destroyed: Box> = Box::new(Option::None); pub enum ObjectType { SEMAPHORE_TYPE, LOCK_TYPE, CONDITION_TYPE, FILE_TYPE, THREAD_TYPE, INVALID_TYPE }