Home
last modified time | relevance | path

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

/external/rust/crates/crossbeam-utils/src/atomic/
Dseq_lock.rs26 pub(crate) fn optimistic_read(&self) -> Option<usize> { in optimistic_read() method
104 let before = LK.optimistic_read().unwrap(); in test_abort()
109 let after = LK.optimistic_read().unwrap(); in test_abort()
Dseq_lock_wide.rs33 pub(crate) fn optimistic_read(&self) -> Option<(usize, usize)> { in optimistic_read() method
147 let before = LK.optimistic_read().unwrap(); in test_abort()
152 let after = LK.optimistic_read().unwrap(); in test_abort()
Datomic_cell.rs1001 if let Some(stamp) = lock.optimistic_read() { in atomic_load()