Home
last modified time | relevance | path

Searched refs:POLLING (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/futures-executor/src/
Dunpark_mutex.rs36 const POLLING: usize = 1; // --> WAITING, REPOLL, or COMPLETE constant
65 match self.status.compare_exchange(WAITING, POLLING, in notify()
85 POLLING => { in notify()
86 match self.status.compare_exchange(POLLING, REPOLL, in notify()
108 self.status.store(POLLING, SeqCst); in start_poll()
120 match self.status.compare_exchange(POLLING, WAITING, SeqCst, SeqCst) { in wait()
128 self.status.store(POLLING, SeqCst); in wait()
/external/rust/crates/grpcio/src/task/
Dexecutor.rs81 const POLLING: u8 = 3; constant
119 Err(POLLING) => match self.state.compare_exchange_weak( in mark_notified()
120 POLLING, in mark_notified()
125 Err(IDLE) | Err(POLLING) => continue, in mark_notified()
190 .compare_exchange(init_state, POLLING, Ordering::AcqRel, Ordering::Acquire) in poll()
213 POLLING, in poll()
/external/rust/crates/futures-util/src/future/future/
Dshared.rs77 const POLLING: usize = 1; constant
242 .compare_exchange(IDLE, POLLING, SeqCst, SeqCst) in poll()
248 POLLING => { in poll()
292 .compare_exchange(POLLING, IDLE, SeqCst, SeqCst) in poll()