Lines Matching refs:mtx
181 let mtx = instance.lock().await;
182 let data_map = &mtx.data_map;
199 let mut mtx = instance.lock().await;
200 let data_map = &mut mtx.data_map;
216 let mtx = instance.lock().await;
217 let data_map = &mtx.data_map;
235 let mtx = instance.lock().await;
236 let stop_flag_map = &mtx.stop_flag_map;
248 let mut mtx = instance.lock().await;
249 let stop_flag_map = &mut mtx.stop_flag_map;
255 let mtx = instance.lock().await;
256 let data_map = &mtx.data_map;
269 let mut mtx = instance.lock().await;
270 mtx.data_map.remove(&session_id);
271 mtx.stop_flag_map.remove(&session_id);
272 mtx.thread_map.remove(&session_id);
401 let mut mtx = instance.lock().await;
402 let thread_map = &mut mtx.thread_map;
413 let stop_flag_map = &mut mtx.stop_flag_map;
419 let mut mtx = instance.lock().await;
420 let stop_flag_map = &mut mtx.stop_flag_map;
429 let mtx = instance.lock().await;
430 let session_ids = mtx.data_map.keys();
437 drop(mtx);