mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 16:43:33 +03:00
Set reentrancy to 1 for tsd_state_purgatory.
Reentrancy is already set for other non-nominal tsd states (reincarnated and minimal_initialized). Add purgatory to be safe and consistent.
This commit is contained in:
parent
88b0e03a4e
commit
38a48e5741
2 changed files with 5 additions and 1 deletions
|
|
@ -376,6 +376,7 @@ tsd_do_data_cleanup(tsd_t *tsd) {
|
|||
arenas_tdata_cleanup(tsd);
|
||||
tcache_cleanup(tsd);
|
||||
witnesses_cleanup(tsd_witness_tsdp_get_unsafe(tsd));
|
||||
*tsd_reentrancy_levelp_get(tsd) = 1;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue