Home
last modified time | relevance | path

Searched refs:WakeUpHelper (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/time/
Dsleep.rs13 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},
42 let handler: Box<WakeUpHelper> = WakeUpHelper::new(current_pcb()); in nanosleep()
Dtimer.rs42 pub struct WakeUpHelper { struct
46 impl WakeUpHelper { impl
47 pub fn new(pcb: &'static mut process_control_block) -> Box<WakeUpHelper> { in new() argument
48 return Box::new(WakeUpHelper { pcb }); in new()
52 impl TimerFunction for WakeUpHelper { implementation
250 let timer = Timer::new(WakeUpHelper::new(current_pcb()), timeout as u64); in schedule_timeout()