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:
parent
d603bd7e3b
commit
c8c02060ee
4 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue