Lines Matching refs:Relaxed
14 use std::sync::atomic::Ordering::Relaxed;
43 let num = cnt.fetch_add(1, Relaxed) + 1; in many_oneshot_futures()
183 self.0.fetch_add(1, Relaxed); in drop_threadpool_drops_futures()
193 a.fetch_add(1, Relaxed); in drop_threadpool_drops_futures()
196 b.fetch_add(1, Relaxed); in drop_threadpool_drops_futures()
207 let a = num_inc.load(Relaxed); in drop_threadpool_drops_futures()
211 let b = num_dec.load(Relaxed); in drop_threadpool_drops_futures()
215 let c = num_drop.load(Relaxed); in drop_threadpool_drops_futures()
232 after_inner.clone().fetch_add(1, Ordering::Relaxed); in start_stop_callbacks_called()
235 before_inner.clone().fetch_add(1, Ordering::Relaxed); in start_stop_callbacks_called()
250 assert!(after_start.load(Ordering::Relaxed) > 0); in start_stop_callbacks_called()
251 assert!(before_stop.load(Ordering::Relaxed) > 0); in start_stop_callbacks_called()
284 let num = cnt.fetch_add(1, Relaxed) + 1; in blocking()