Searched refs:arc_capture (Results 1 – 2 of 2) sorted by relevance
222 let arc_capture = Arc::new(Mutex::new(capture)); in insert() localVariable223 self.chip_id_to_capture.insert(chip_id, arc_capture.clone()); in insert()240 if let Some(arc_capture) = self.chip_id_to_capture.get(key) { in remove()241 let mut capture = arc_capture.lock().expect("Failed to acquire lock on CaptureInfo"); in remove()
152 .map(|arc_capture| arc_capture.lock().expect("Failed to acquire lock on CaptureInfo")) in handle_capture_patch()250 .map(|arc_capture| arc_capture.lock().expect("Failed to acquire lock on CaptureInfo")) in handle_packet()