Searched refs:futex_q (Results 1 – 1 of 1) sorted by relevance
66 pub fn contains(&self, futex_q: &FutexObj) -> bool { in contains()69 .filter(|x| futex_q.pcb.ptr_eq(&x.pcb) && x.key == futex_q.key) in contains()78 pub fn sleep_no_sched(&mut self, futex_q: Arc<FutexObj>) -> Result<(), SystemError> { in sleep_no_sched()80 self.chain.push_back(futex_q); in sleep_no_sched()99 while let Some(futex_q) = self.chain.pop_front() { in wake_up()100 if futex_q.key == key { in wake_up()104 if futex_q.bitset != bitset { in wake_up()105 self.chain.push_back(futex_q); in wake_up()111 if futex_q.pcb.upgrade().is_some() { in wake_up()112 self.remove(futex_q.clone()); in wake_up()[all …]