Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/time/
Dsleep.rs16 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},
45 let handler: Box<WakeUpHelper> = WakeUpHelper::new(current_pcb()); in nano_sleep()
Dtimer.rs36 pub struct WakeUpHelper { struct
40 impl WakeUpHelper { argument
41 pub fn new(pcb: &'static mut process_control_block) -> Box<WakeUpHelper> { in new() argument
42 return Box::new(WakeUpHelper { pcb }); in new()
46 impl TimerFunction for WakeUpHelper { implementation
234 let timer = Timer::new(WakeUpHelper::new(current_pcb()), timeout as u64); in schedule_timeout()