mirror of
https://github.com/Z3Prover/z3
synced 2025-11-05 22:06: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
|
|
@ -122,7 +122,7 @@ void tst_sat_local_search(char ** argv, int argc, int& i) {
|
|||
// set up cancellation/timeout environment.
|
||||
|
||||
cancel_eh<reslimit> eh(local_search.rlimit());
|
||||
scoped_ctrl_c ctrlc(eh, false, true);
|
||||
scoped_ctrl_c ctrlc(eh);
|
||||
scoped_timer timer(cutoff_time*1000, &eh);
|
||||
local_search.check(0, nullptr, nullptr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue