mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-26 10:37:19 +03:00
Extract postfork-child tcache list relink into tcache_arena_postfork_child
This commit is contained in:
parent
b6cfaa4fe2
commit
54ef51121b
3 changed files with 32 additions and 24 deletions
|
|
@ -73,6 +73,7 @@ void tcaches_destroy(tsd_t *tsd, unsigned ind);
|
|||
bool tcache_boot(tsdn_t *tsdn, base_t *base);
|
||||
void tcache_arena_associate(
|
||||
tsdn_t *tsdn, tcache_slow_t *tcache_slow, tcache_t *tcache, arena_t *arena);
|
||||
void tcache_arena_postfork_child(tsdn_t *tsdn, arena_t *arena);
|
||||
void tcache_prefork(tsdn_t *tsdn);
|
||||
void tcache_postfork_parent(tsdn_t *tsdn);
|
||||
void tcache_postfork_child(tsdn_t *tsdn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue