Searched refs:REGISTERING (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/futures-core/src/task/__internal/ |
D | atomic_waker.rs | 200 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/ |
D | atomic_waker.rs | 135 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/ |
D | header.rs | 51 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()
|
D | state.rs | 53 pub(crate) const REGISTERING: usize = 1 << 6; constant
|
/external/rust/crates/tracing-core/src/ |
D | callsite.rs | 277 const REGISTERING: u8 = 1; constant 316 Self::REGISTERING, in register() 333 Self::REGISTERING, in register()
|