mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
ensure limit children are safe for race conditions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4132fc2d91
commit
54ac71cada
2 changed files with 3 additions and 5 deletions
|
@ -17,6 +17,7 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include "rlimit.h"
|
||||
#include "common_msgs.h"
|
||||
|
||||
reslimit::reslimit():
|
||||
m_cancel(false),
|
||||
|
@ -57,7 +58,7 @@ void reslimit::pop() {
|
|||
m_cancel = false;
|
||||
}
|
||||
|
||||
char const* get_cancel_msg() const {
|
||||
char const* reslimit::get_cancel_msg() const {
|
||||
if (m_cancel) {
|
||||
return Z3_CANCELED_MSG;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue