3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-20 18:20:22 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-08-04 09:44:32 -07:00
parent d593bb89f3
commit d190c83984
4 changed files with 29 additions and 18 deletions

View file

@ -24,6 +24,22 @@ namespace smt {
class parallel {
context& ctx;
class worker {
ast_manager m;
context ctx;
expr_ref_vector asms;
public:
worker(context& ctx, expr_ref_vector const& asms);
void run();
void cancel();
};
std::mutex mux;
void set_unsat();
void set_sat(ast_translation& tr, model& m);
void get_cubes(ast_translation& tr, expr_ref_vector& cubes);
public:
parallel(context& ctx): ctx(ctx) {}