mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
revert to STL allocated memory to be orthogonal to memory manager behavior
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a083633ab4
commit
a4aa87b6c9
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ Revision History:
|
|||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
struct state {
|
||||
std::thread * m_thread { nullptr };
|
||||
|
@ -43,7 +44,7 @@ struct state {
|
|||
* destructing threads blocked on condition variables leads to
|
||||
* deadlock.
|
||||
*/
|
||||
static ptr_vector<state> available_workers;
|
||||
static std::vector<state*> available_workers;
|
||||
static std::mutex workers;
|
||||
|
||||
static void thread_func(state *s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue