mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
moving to resource managed cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
96d1066c6a
commit
1aea9722cb
7 changed files with 13 additions and 12 deletions
|
@ -61,6 +61,7 @@ extern "C" {
|
|||
polynomial_ref_vector rs(pm);
|
||||
polynomial_ref r(pm);
|
||||
expr_ref _r(mk_c(c)->m());
|
||||
|
||||
{
|
||||
cancel_eh<reslimit> eh(mk_c(c)->poly_limit());
|
||||
api::context::set_interruptable si(*(mk_c(c)), eh);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue