mirror of
https://github.com/Z3Prover/z3
synced 2025-11-06 14:26:03 +00:00
* fix #7603: race condition in Ctrl-C handling * fix race in cancel_eh * fix build
This commit is contained in:
parent
7a8ba4b474
commit
b1ab695eb6
9 changed files with 49 additions and 44 deletions
|
|
@ -154,7 +154,7 @@ extern "C" {
|
|||
bool use_ctrl_c = to_optimize_ptr(o)->get_params().get_bool("ctrl_c", true);
|
||||
api::context::set_interruptable si(*(mk_c(c)), eh);
|
||||
{
|
||||
scoped_ctrl_c ctrlc(eh, false, use_ctrl_c);
|
||||
scoped_ctrl_c ctrlc(eh, use_ctrl_c);
|
||||
scoped_timer timer(timeout, &eh);
|
||||
scoped_rlimit _rlimit(mk_c(c)->m().limit(), rlimit);
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue