3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

trace & threads = undef

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-03 13:58:22 -07:00
parent a839017cc6
commit 918b6a8c03
3 changed files with 9 additions and 1 deletions

View file

@ -391,6 +391,9 @@ public:
ast_manager & m = in->m();
if (m.has_trace_stream())
throw default_exception("threads and trace are incompatible");
scoped_ptr_vector<ast_manager> managers;
scoped_limits scl(m.limit());
goal_ref_vector in_copies;
@ -662,6 +665,9 @@ public:
}
};
if (m.has_trace_stream())
throw default_exception("threads and trace are incompatible");
vector<std::thread> threads(r1_size);
for (unsigned i = 0; i < r1_size; ++i) {
threads[i] = std::thread([&, i]() { worker_thread(i); });