Lines Matching refs:Arc
12 use std::sync::{Arc, Weak};
24 impl FailHandle for Option<Arc<dyn FailHandle>> {
43 fail_handle: Option<Arc<dyn FailHandle>>,
44 poll_ctx: Arc<EpollContext<Descriptor>>,
45 handlers: Arc<Mutex<BTreeMap<RawDescriptor, Weak<dyn EventHandler>>>>,
58 fail_handle: Option<Arc<dyn FailHandle>>, in start()
64 let fd_callbacks: Arc<Mutex<BTreeMap<RawDescriptor, Weak<dyn EventHandler>>>> = in start()
65 Arc::new(Mutex::new(BTreeMap::new())); in start()
76 let poll_ctx = Arc::new(poll_ctx); in start()
202 use std::sync::{Arc, Condvar, Mutex};
229 let h = Arc::new(EventLoopTestHandler { in event_loop_test()
234 let t: Arc<dyn EventHandler> = h.clone(); in event_loop_test()
238 Arc::downgrade(&t), in event_loop_test()