Searched refs:WakeUpHelper (Results 1 – 2 of 2) sorted by relevance
16 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},45 let handler: Box<WakeUpHelper> = WakeUpHelper::new(current_pcb()); in nano_sleep()
36 pub struct WakeUpHelper { struct40 impl WakeUpHelper { argument41 pub fn new(pcb: &'static mut process_control_block) -> Box<WakeUpHelper> { in new() argument42 return Box::new(WakeUpHelper { pcb }); in new()46 impl TimerFunction for WakeUpHelper { implementation234 let timer = Timer::new(WakeUpHelper::new(current_pcb()), timeout as u64); in schedule_timeout()