Searched refs:Ordering (Results 1 – 5 of 5) sorted by relevance
45 use std::sync::atomic::{AtomicUsize, Ordering};60 .fetch_add(duration.total_millis() as usize, Ordering::SeqCst); in advance()64 Instant::from_millis(self.0.load(Ordering::SeqCst) as i64) in elapsed()
9 use std::sync::atomic::{AtomicBool, Ordering};58 CLIENT_DONE.store(true, Ordering::SeqCst); in client()111 while !CLIENT_DONE.load(Ordering::SeqCst) { in main()
60 use std::sync::atomic::{AtomicBool, Ordering};122 CLIENT_DONE.store(true, Ordering::SeqCst); in client()183 while !CLIENT_DONE.load(Ordering::SeqCst) { in main()
16 use std::sync::atomic::{AtomicUsize, Ordering};31 .fetch_add(duration.total_millis() as usize, Ordering::SeqCst); in advance()35 Instant::from_millis(self.0.load(Ordering::SeqCst) as i64) in elapsed()
64 fn partial_cmp(&self, other: &SeqNumber) -> Option<cmp::Ordering> { in partial_cmp() argument