3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-10-09 21:47:43 -07:00
parent fd1974845b
commit ecba7b3cde
3 changed files with 54 additions and 5 deletions

View file

@ -6332,6 +6332,18 @@ extern "C" {
*/
void Z3_API Z3_solver_dec_ref(Z3_context c, 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)))
*/
void Z3_API Z3_solver_interrupt(Z3_context c, Z3_solver s);
/**
\brief Create a backtracking point.