pub fn setup_callbacks_and_run_in_thread_pool_with_globals<F, R>( edition: Edition, _threads: usize, stderr: &Option<Arc<Mutex<Vec<u8, Global>>>>, f: F) -> R where F: FnOnce() -> R + Send, R: Send,