mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 02:57:50 +00:00
fix openmp nested critical section
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
This commit is contained in:
parent
d8dc86f558
commit
c36df1c34a
2 changed files with 3 additions and 3 deletions
|
@ -656,13 +656,12 @@ public:
|
|||
}
|
||||
|
||||
virtual void set_cancel(bool f) {
|
||||
m_nl_tac->set_cancel(f);
|
||||
if (f) {
|
||||
m_nl_tac->cancel();
|
||||
m_solver->cancel();
|
||||
}
|
||||
else {
|
||||
m_solver->reset_cancel();
|
||||
m_nl_tac->reset_cancel();
|
||||
}
|
||||
m_cancel = f;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue