Lines Matching refs:Arc
44 use std::sync::{Arc, Barrier};
60 let m1: Arc<Mutex<()>> = Default::default(); in test_mutex_deadlock()
61 let m2: Arc<Mutex<()>> = Default::default(); in test_mutex_deadlock()
62 let m3: Arc<Mutex<()>> = Default::default(); in test_mutex_deadlock()
63 let b = Arc::new(Barrier::new(4)); in test_mutex_deadlock()
105 let m1: Arc<Mutex<()>> = Default::default(); in test_mutex_deadlock_reentrant()
124 let m1: Arc<ReentrantMutex<()>> = Default::default(); in test_remutex_deadlock()
125 let m2: Arc<ReentrantMutex<()>> = Default::default(); in test_remutex_deadlock()
126 let m3: Arc<ReentrantMutex<()>> = Default::default(); in test_remutex_deadlock()
127 let b = Arc::new(Barrier::new(4)); in test_remutex_deadlock()
172 let m1: Arc<RwLock<()>> = Default::default(); in test_rwlock_deadlock()
173 let m2: Arc<RwLock<()>> = Default::default(); in test_rwlock_deadlock()
174 let m3: Arc<RwLock<()>> = Default::default(); in test_rwlock_deadlock()
175 let b = Arc::new(Barrier::new(4)); in test_rwlock_deadlock()
218 let m1: Arc<RwLock<()>> = Default::default(); in test_rwlock_deadlock_reentrant()