Searched refs:WakeUpHelper (Results 1 – 2 of 2) sorted by relevance
13 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},42 let handler: Box<WakeUpHelper> = WakeUpHelper::new(current_pcb()); in nanosleep()
42 pub struct WakeUpHelper { struct46 impl WakeUpHelper { implementation47 pub fn new(pcb: &'static mut process_control_block) -> Box<WakeUpHelper> { in new() argument48 return Box::new(WakeUpHelper { pcb }); in new()52 impl TimerFunction for WakeUpHelper { implementation250 let timer = Timer::new(WakeUpHelper::new(current_pcb()), timeout as u64); in schedule_timeout()