Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Dwait_queue.rs157 let to_wakeup = guard.wait_list.pop_front().unwrap(); in wakeup() localVariable
159 process_wakeup(to_wakeup); in wakeup()
179 while let Some(to_wakeup) = guard.wait_list.pop_front() { in wakeup_all()
180 if (to_wakeup.state & state) != 0 { in wakeup_all()
182 process_wakeup(to_wakeup); in wakeup_all()
185 to_push_back.push(to_wakeup); in wakeup_all()
189 for to_wakeup in to_push_back { in wakeup_all()
190 guard.wait_list.push_back(to_wakeup); in wakeup_all()
Dmutex.rs126 let to_wakeup: &mut process_control_block = inner.wait_list.pop_front().unwrap(); in unlock() localVariable
130 process_wakeup(to_wakeup); in unlock()