3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-25 10:05:32 +00:00

another module level ifdef for #4382

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-05-18 15:01:27 -07:00
parent d603bd7e3b
commit c8c02060ee
4 changed files with 12 additions and 4 deletions

View file

@ -28,6 +28,14 @@ Notes:
--*/
#ifdef SINGLE_THREAD
tactic * mk_parallel_tactic(solver* s, params_ref const& p) {
throw default_exception("parallel tactic is disabled in single threaded mode");
}
#else
#include <thread>
#include <mutex>
#include <cmath>
@ -795,3 +803,4 @@ tactic * mk_parallel_tactic(solver* s, params_ref const& p) {
return alloc(parallel_tactic, s, p);
}
#endif