Home
last modified time | relevance | path

Searched refs:REGISTERING (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/futures-core/src/task/__internal/
Datomic_waker.rs200 const REGISTERING: usize = 0b01; constant
268 .compare_exchange(WAITING, REGISTERING, Acquire, Acquire) in register()
286 let res = self.state.compare_exchange(REGISTERING, WAITING, AcqRel, Acquire); in register()
301 debug_assert_eq!(actual, REGISTERING | WAKING); in register()
350 debug_assert!(state == REGISTERING || state == REGISTERING | WAKING); in register()
395 state == REGISTERING || state == REGISTERING | WAKING || state == WAKING in take()
/external/rust/crates/tokio/src/sync/task/
Datomic_waker.rs135 const REGISTERING: usize = 0b01; constant
185 .compare_exchange(WAITING, REGISTERING, Acquire, Acquire) in do_register()
218 .compare_exchange(REGISTERING, WAITING, AcqRel, Acquire); in do_register()
233 debug_assert_eq!(actual, REGISTERING | WAKING); in do_register()
295 debug_assert!(state == REGISTERING || state == REGISTERING | WAKING); in do_register()
336 state == REGISTERING || state == REGISTERING | WAKING || state == WAKING in take_waker()
/external/rust/crates/async-task/src/
Dheader.rs51 if state & (NOTIFYING | REGISTERING) == 0 { in take()
83 debug_assert!(state & REGISTERING == 0); in register()
95 state | REGISTERING, in register()
100 state |= REGISTERING; in register()
127 (state & !NOTIFYING & !REGISTERING) | AWAITER in register()
129 state & !NOTIFYING & !REGISTERING & !AWAITER in register()
Dstate.rs53 pub(crate) const REGISTERING: usize = 1 << 6; constant
/external/rust/crates/tracing-core/src/
Dcallsite.rs277 const REGISTERING: u8 = 1; constant
316 Self::REGISTERING, in register()
333 Self::REGISTERING, in register()