MCPcopy Create free account
hub / github.com/F-Stack/f-stack / arena_unbind

Function arena_unbind

app/redis-6.2.6/deps/jemalloc/src/jemalloc.c:393–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393static void
394arena_unbind(tsd_t *tsd, unsigned ind, bool internal) {
395 arena_t *arena;
396
397 arena = arena_get(tsd_tsdn(tsd), ind, false);
398 arena_nthreads_dec(arena, internal);
399
400 if (internal) {
401 tsd_iarena_set(tsd, NULL);
402 } else {
403 tsd_arena_set(tsd, NULL);
404 }
405}
406
407arena_tdata_t *
408arena_tdata_get_hard(tsd_t *tsd, unsigned ind) {

Callers 2

iarena_cleanupFunction · 0.85
arena_cleanupFunction · 0.85

Calls 3

arena_getFunction · 0.85
tsd_tsdnFunction · 0.85
arena_nthreads_decFunction · 0.85

Tested by

no test coverage detected