solver_interrupt method

void solver_interrupt(
  1. Z3_context c,
  2. Z3_solver s
)

\brief Solver local interrupt. Normally you should use Z3_interrupt to cancel solvers because only one solver is enabled concurrently per context. However, per GitHub issue #1006, there are use cases where it is more convenient to cancel a specific solver. Solvers that are not selected for interrupts are left alone.

def_API('Z3_solver_interrupt', VOID, (_in(CONTEXT), _in(SOLVER)))

Implementation

void solver_interrupt(
  Z3_context c,
  Z3_solver s,
) {
  return _solver_interrupt(
    c,
    s,
  );
}