Searched refs:optimistic_read (Results 1 – 3 of 3) sorted by relevance
26 pub(crate) fn optimistic_read(&self) -> Option<usize> { in optimistic_read() method104 let before = LK.optimistic_read().unwrap(); in test_abort()109 let after = LK.optimistic_read().unwrap(); in test_abort()
33 pub(crate) fn optimistic_read(&self) -> Option<(usize, usize)> { in optimistic_read() method147 let before = LK.optimistic_read().unwrap(); in test_abort()152 let after = LK.optimistic_read().unwrap(); in test_abort()
1001 if let Some(stamp) = lock.optimistic_read() { in atomic_load()