Lines Matching full:arc
163 let m = Arc::new(Mutex::new(NonCopy(10)));
171 let m = Arc::new(Mutex::new(NonCopy(10)));
179 let packet = Packet(Arc::new((Mutex::new(1), Condvar::new())));
187 let arc = Arc::new(Mutex::new(1));
188 assert!(!arc.is_poisoned());
195 let arc = Arc::new(Mutex::new(1));
196 let arc2 = arc.clone();
207 let arc = Arc::new(RwLock::new(1));
208 let arc2 = arc.clone();
215 let arc = Arc::new(RwLock::new(1));
216 assert!(!arc.is_poisoned());
223 let arc = Arc::new(RwLock::new(1));
224 let arc2 = arc.clone();
231 let arc = Arc::new(RwLock::new(1));
232 let arc2 = arc.clone();
239 let arc = Arc::new(RwLock::new(1));
240 let arc2 = arc.clone();
247 let m = Arc::new(RwLock::new(NonCopy(10)));
255 let m = Arc::new(RwLock::new(NonCopy(10)));
352 let arc = Arc::new(Mutex::new(1));
353 assert!(!arc.is_poisoned());
374 let arc = Arc::new(RwLock::new(1));
375 let arc2 = arc.clone();
382 let arc = Arc::new(RwLock::new(1));
383 let arc2 = arc.clone();