Searched refs:to_wakeup (Results 1 – 2 of 2) sorted by relevance
157 let to_wakeup = guard.wait_list.pop_front().unwrap(); in wakeup() localVariable159 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()
126 let to_wakeup: &mut process_control_block = inner.wait_list.pop_front().unwrap(); in unlock() localVariable130 process_wakeup(to_wakeup); in unlock()