Searched refs:npolls (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/tokio/tests/ |
D | rt_basic.rs | 47 npolls: Arc<AtomicUsize>, in no_extra_poll() 60 this.npolls.fetch_add(1, SeqCst); in no_extra_poll() 67 npolls: Arc::new(AtomicUsize::new(0)), in no_extra_poll() 70 let npolls = Arc::clone(&rx.npolls); in no_extra_poll() localVariable 83 assert_eq!(npolls.load(SeqCst), 1); in no_extra_poll() 91 assert_eq!(npolls.load(SeqCst), 1 + 2); in no_extra_poll() 99 assert_eq!(npolls.load(SeqCst), 1 + 2 + 1); in no_extra_poll()
|
D | tcp_accept.rs | 52 npolls: Arc<AtomicUsize>, field 60 self.npolls.fetch_add(1, SeqCst); in poll_next() 75 npolls: Arc::new(AtomicUsize::new(0)), in no_extra_poll() 78 assert_ok!(tx.send(Arc::clone(&incoming.npolls))); in no_extra_poll() 84 let npolls = assert_ok!(rx.await); in no_extra_poll() localVariable 88 assert_eq!(npolls.load(SeqCst), 1); in no_extra_poll() 94 assert_eq!(npolls.load(SeqCst), 1 + 2); in no_extra_poll()
|