fn poll_all_devices( global: &Arc<Global>, more_work: &mut bool, force_wait: bool, lock: &Mutex<()>, )