mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
reworking cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
baee4225a7
commit
96d1066c6a
13 changed files with 42 additions and 47 deletions
|
@ -84,7 +84,7 @@ private:
|
|||
volatile bool m_canceled;
|
||||
aux_timeout_eh(solver * s):m_solver(s), m_canceled(false) {}
|
||||
virtual void operator()() {
|
||||
m_solver->get_manager().cancel();
|
||||
m_solver->get_manager().limit().cancel();
|
||||
m_canceled = true;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue