mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
rewind qhead to ensure re-propagation after cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
41deae52c6
commit
7d7e03e377
3 changed files with 8 additions and 2 deletions
|
@ -29,6 +29,7 @@ uint64 reslimit::count() const {
|
|||
return m_count;
|
||||
}
|
||||
|
||||
|
||||
bool reslimit::inc() {
|
||||
++m_count;
|
||||
return m_cancel == 0 && (m_limit == 0 || m_count <= m_limit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue