3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-15 15:25:26 +00:00

SINGLE_THREAD: do not use pthread if possible (#4382)

This commit is contained in:
Alexey Vishnyakov 2020-05-19 19:45:41 +03:00 committed by GitHub
parent 5fe0eeda63
commit 3b0c40044f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

View file

@ -24,7 +24,7 @@ Revision History:
#include "util/map.h"
#include "util/rlimit.h"
#include "util/scoped_ptr_vector.h"
#include <mutex>
#include "util/mutex.h"
namespace sat {
@ -62,7 +62,7 @@ namespace sat {
index_set m_unit_set;
literal_vector m_lits;
vector_pool m_pool;
std::mutex m_mux;
mutex m_mux;
// for exchange with local search:
unsigned m_num_clauses;