[−][src]Function clingo_sys::clingo_solve_handle_close
pub unsafe extern "C" fn clingo_solve_handle_close(
handle: *mut clingo_solve_handle_t
) -> bool
Stops the running search and releases the handle.
Blocks until the search is stopped (as if an implicit cancel was called before the handle is released).
@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