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:
parent
a839017cc6
commit
918b6a8c03
3 changed files with 9 additions and 1 deletions
|
@ -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); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue