mirror of
https://github.com/Z3Prover/z3
synced 2025-11-29 08:49:51 +00:00
parent
391880b6fc
commit
b7eb21efed
3 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue