extern "C" fn handle_process_work_callback<F>(cb: *mut c_void) -> i32where F: FnOnce() -> i32 + 'static,