mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 02:34:43 +00:00
fix mutexes hanging due to access to free'd memory
Thanks to Kevin de Vos for reporting the bug & testing the fix
This commit is contained in:
parent
cb75326686
commit
87a96d7bd4
8 changed files with 27 additions and 8 deletions
|
@ -23,8 +23,12 @@ Revision History:
|
|||
|
||||
static DECLARE_MUTEX(g_rlimit_mux);
|
||||
|
||||
void initialize_rlimit() {
|
||||
ALLOC_MUTEX(g_rlimit_mux);
|
||||
}
|
||||
|
||||
void finalize_rlimit() {
|
||||
delete g_rlimit_mux;
|
||||
DEALLOC_MUTEX(g_rlimit_mux);
|
||||
}
|
||||
|
||||
reslimit::reslimit():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue