Searched refs:is_leader (Results 1 – 3 of 3) sorted by relevance
24 assert!(wr.is_leader()); in zero_does_not_block()29 assert!(wr.is_leader()); in zero_does_not_block()40 assert!(wr.is_leader()); in single()45 assert!(wr.is_leader()); in single()50 assert!(wr.is_leader()); in single()65 assert!(wr1.is_leader() || wr2.is_leader()); in tango()66 assert!(!(wr1.is_leader() && wr2.is_leader())); in tango()86 let mut found_leader = assert_ready!(w.poll()).is_leader(); in lots()89 if wr.is_leader() { in lots()
179 pub fn is_leader(&self) -> bool { self.0 } in is_leader() method199 tx.send(c.wait().is_leader()).unwrap(); in use_barrier()210 let mut leader_found = barrier.wait().is_leader(); in use_barrier()
141 pub fn is_leader(&self) -> bool { in is_leader() method