3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-01 21:49:29 +00:00

cleanup thread pool of scoped_timer on memory finalize

but keep it alive on Z3_memory_reset()
This commit is contained in:
Nuno Lopes 2020-10-24 12:46:50 +01:00
parent 0213af3c61
commit 4e9035d4b9
5 changed files with 37 additions and 22 deletions

View file

@ -55,7 +55,7 @@ public:
static bool above_high_watermark();
static void set_max_size(size_t max_size);
static void set_max_alloc_count(size_t max_count);
static void finalize();
static void finalize(bool shutdown = true);
static void display_max_usage(std::ostream& os);
static void display_i_max_usage(std::ostream& os);
static void deallocate(void* p);