mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
cleanup deprecated critical sections, fix cancellation for par_or_else tactic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c97db1722d
commit
2a051719d8
50 changed files with 105 additions and 276 deletions
|
@ -56,3 +56,16 @@ void reslimit::pop() {
|
|||
m_limits.pop_back();
|
||||
m_cancel = false;
|
||||
}
|
||||
|
||||
void reslimit::cancel() {
|
||||
m_cancel = true;
|
||||
for (unsigned i = 0; i < m_children.size(); ++i) {
|
||||
m_children[i]->cancel();
|
||||
}
|
||||
}
|
||||
void reslimit::reset_cancel() {
|
||||
m_cancel = false;
|
||||
for (unsigned i = 0; i < m_children.size(); ++i) {
|
||||
m_children[i]->reset_cancel();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue