mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
local
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ff6d703c05
commit
6360798a53
2 changed files with 15 additions and 7 deletions
|
@ -71,6 +71,11 @@ public:
|
|||
m_suspend = r.m_suspend;
|
||||
r.m_suspend = true;
|
||||
}
|
||||
|
||||
scoped_suspend_rlimit(reslimit& r, bool do_suspend): m_limit(r) {
|
||||
m_suspend = r.m_suspend;
|
||||
r.m_suspend |= do_suspend;
|
||||
}
|
||||
~scoped_suspend_rlimit() {
|
||||
m_limit.m_suspend = m_suspend;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue