Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/libs/
Dwait_queue.rs207 let to_wakeup = guard.wait_list.pop_front().unwrap(); in wakeup() localVariable
209 let res = ProcessManager::wakeup(&to_wakeup).is_ok(); in wakeup()
225 while let Some(to_wakeup) = guard.wait_list.pop_front() { in wakeup_all()
228 if to_wakeup.sched_info().inner_lock_read_irqsave().state() == state { in wakeup_all()
236 ProcessManager::wakeup(&to_wakeup).unwrap_or_else(|e| { in wakeup_all()
237 kerror!("wakeup pid: {:?} error: {:?}", to_wakeup.pid(), e); in wakeup_all()
241 to_push_back.push(to_wakeup); in wakeup_all()
245 for to_wakeup in to_push_back { in wakeup_all()
246 guard.wait_list.push_back(to_wakeup); in wakeup_all()
Dmutex.rs127 let to_wakeup: Arc<ProcessControlBlock> = inner.wait_list.pop_front().unwrap(); in unlock() localVariable
130 ProcessManager::wakeup(&to_wakeup).ok(); in unlock()