mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
disable threads for extensions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
007b792e0f
commit
30e904bfa4
1 changed files with 4 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ namespace sat {
|
||||||
return do_local_search(num_lits, lits);
|
return do_local_search(num_lits, lits);
|
||||||
}
|
}
|
||||||
if ((m_config.m_num_threads > 1 || m_config.m_local_search_threads > 0 ||
|
if ((m_config.m_num_threads > 1 || m_config.m_local_search_threads > 0 ||
|
||||||
m_config.m_ddfw_threads > 0) && !m_par) {
|
m_config.m_ddfw_threads > 0) && !m_par && !m_ext) {
|
||||||
SASSERT(scope_lvl() == 0);
|
SASSERT(scope_lvl() == 0);
|
||||||
return check_par(num_lits, lits);
|
return check_par(num_lits, lits);
|
||||||
}
|
}
|
||||||
|
@ -1440,6 +1440,9 @@ namespace sat {
|
||||||
if (!rlimit().inc()) {
|
if (!rlimit().inc()) {
|
||||||
return l_undef;
|
return l_undef;
|
||||||
}
|
}
|
||||||
|
if (m_ext)
|
||||||
|
return l_undef;
|
||||||
|
|
||||||
scoped_ptr_vector<i_local_search> ls;
|
scoped_ptr_vector<i_local_search> ls;
|
||||||
scoped_ptr_vector<solver> uw;
|
scoped_ptr_vector<solver> uw;
|
||||||
int num_extra_solvers = m_config.m_num_threads - 1;
|
int num_extra_solvers = m_config.m_num_threads - 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue