Function clingo_sys::clingo_solve_handle_cancel
source · pub unsafe extern "C" fn clingo_solve_handle_cancel(
handle: *mut clingo_solve_handle_t
) -> bool
Expand description
! Stop the running search and block until done. ! ! @param[in] handle the target ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc ! - ::clingo_error_runtime if solving fails