mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
fixup use of SYNC/SYNCH for mpz
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7df8d17639
commit
abbee32ddc
3 changed files with 28 additions and 31 deletions
|
@ -27,14 +27,6 @@ Revision History:
|
|||
typedef unsigned int mpn_digit;
|
||||
|
||||
class mpn_manager {
|
||||
#ifndef SINGLE_THREAD
|
||||
std::recursive_mutex m_lock;
|
||||
#define MPN_BEGIN_CRITICAL() m_lock.lock()
|
||||
#define MPN_END_CRITICAL() m_lock.unlock()
|
||||
#else
|
||||
#define MPN_BEGIN_CRITICAL() {}
|
||||
#define MPN_END_CRITICAL() {}
|
||||
#endif
|
||||
|
||||
public:
|
||||
mpn_manager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue