MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / prof_tdata_mutex_choose

Function prof_tdata_mutex_choose

deps/jemalloc/src/prof.c:815–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813}
814
815static malloc_mutex_t *
816prof_tdata_mutex_choose(uint64_t thr_uid) {
817 return &tdata_locks[thr_uid % PROF_NTDATA_LOCKS];
818}
819
820static prof_gctx_t *
821prof_gctx_create(tsdn_t *tsdn, prof_bt_t *bt) {

Callers 1

prof_tdata_init_implFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected