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

Function background_thread_prefork1

deps/jemalloc/src/background_thread.c:745–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743}
744
745void
746background_thread_prefork1(tsdn_t *tsdn) {
747 for (unsigned i = 0; i < max_background_threads; i++) {
748 malloc_mutex_prefork(tsdn, &background_thread_info[i].mtx);
749 }
750}
751
752void
753background_thread_postfork_parent(tsdn_t *tsdn) {

Callers 2

jemalloc_preforkFunction · 0.70

Calls 1

malloc_mutex_preforkFunction · 0.70

Tested by

no test coverage detected