mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
turn locks into no-ops when compiled with -DSINGLE_THREAD
This commit is contained in:
parent
9b375150eb
commit
a53ff6f21c
17 changed files with 106 additions and 79 deletions
|
@ -42,7 +42,7 @@ Revision History:
|
|||
#include "ast/rewriter/seq_rewriter.h"
|
||||
#include "smt/smt_solver.h"
|
||||
#include "solver/solver.h"
|
||||
#include <mutex>
|
||||
#include "util/mutex.h"
|
||||
|
||||
namespace smtlib {
|
||||
class parser;
|
||||
|
@ -80,7 +80,7 @@ namespace api {
|
|||
scoped_ptr<ast_manager> m_manager;
|
||||
scoped_ptr<cmd_context> m_cmd;
|
||||
add_plugins m_plugins;
|
||||
std::mutex m_mux;
|
||||
mutex m_mux;
|
||||
|
||||
arith_util m_arith_util;
|
||||
bv_util m_bv_util;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue