mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 17:22:15 +00:00
moving to resource managed cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
61dbb6168e
commit
32b6b2da44
41 changed files with 55 additions and 280 deletions
|
@ -118,7 +118,7 @@ namespace opt {
|
|||
expr_ref_vector asms(m);
|
||||
init();
|
||||
init_bcd();
|
||||
if (m_cancel) {
|
||||
if (m.canceled()) {
|
||||
normalize_bounds();
|
||||
return l_undef;
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ namespace opt {
|
|||
TRACE("opt", display(tout););
|
||||
assert_cores();
|
||||
set2asms(m_asm_set, asms);
|
||||
if (m_cancel) {
|
||||
if (m.canceled()) {
|
||||
normalize_bounds();
|
||||
return l_undef;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue