3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-31 03:32:28 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-09-28 12:44:56 +03:00
parent 7fdc5ab682
commit 201731baf1
3 changed files with 6 additions and 0 deletions

View file

@ -78,6 +78,8 @@ char const* reslimit::get_cancel_msg() const {
void reslimit::push_child(reslimit* r) {
lock_guard lock(*g_rlimit_mux);
r->m_limit = std::min(r->m_limit, m_limit - std::min(m_limit, m_count));
r->m_count = 0;
m_children.push_back(r);
}