Home
last modified time | relevance | path

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

/external/rust/crates/tokio/src/runtime/task/
Dstate.rs50 const REF_ONE: usize = 1 << REF_COUNT_SHIFT; constant
58 const INITIAL_STATE: usize = (REF_ONE * 2) | JOIN_INTEREST | NOTIFIED;
224 (INITIAL_STATE - REF_ONE) & !JOIN_INTEREST, in drop_join_handle_fast()
306 let prev = self.val.fetch_add(REF_ONE, Relaxed); in ref_inc()
316 let prev = Snapshot(self.val.fetch_sub(REF_ONE, AcqRel)); in ref_dec()
414 self.0 += REF_ONE; in ref_inc()
419 self.0 -= REF_ONE in ref_dec()