mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
reworking cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
981f8226fe
commit
baee4225a7
145 changed files with 172 additions and 958 deletions
|
@ -79,7 +79,6 @@ namespace smt {
|
|||
smt_params & m_fparams;
|
||||
params_ref m_params;
|
||||
setup m_setup;
|
||||
volatile bool m_cancel_flag;
|
||||
timer m_timer;
|
||||
asserted_formulas m_asserted_formulas;
|
||||
scoped_ptr<quantifier_manager> m_qmanager;
|
||||
|
@ -233,9 +232,8 @@ namespace smt {
|
|||
return m_params;
|
||||
}
|
||||
|
||||
virtual void set_cancel_flag(bool f = true);
|
||||
|
||||
bool get_cancel_flag() { return m_cancel_flag || !m_manager.limit().inc(); }
|
||||
bool get_cancel_flag() { return !m_manager.limit().inc(); }
|
||||
|
||||
region & get_region() {
|
||||
return m_region;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue