mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 10:14:42 +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
|
@ -74,7 +74,7 @@ public:
|
|||
unsigned num_steps = 0;
|
||||
unsigned timeout = m_params.get_uint("timeout", UINT_MAX);
|
||||
bool failed = false;
|
||||
cancel_eh<th_rewriter> eh(s);
|
||||
cancel_eh<reslimit> eh(ctx.m().limit());
|
||||
{
|
||||
scoped_ctrl_c ctrlc(eh);
|
||||
scoped_timer timer(timeout, &eh);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue