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

Function background_thread_postfork_parent

deps/jemalloc/src/background_thread.c:752–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752void
753background_thread_postfork_parent(tsdn_t *tsdn) {
754 for (unsigned i = 0; i < max_background_threads; i++) {
755 malloc_mutex_postfork_parent(tsdn,
756 &background_thread_info[i].mtx);
757 }
758 malloc_mutex_postfork_parent(tsdn, &background_thread_lock);
759}
760
761void
762background_thread_postfork_child(tsdn_t *tsdn) {

Callers 2

jemalloc_postfork_parentFunction · 0.70

Calls 1

Tested by

no test coverage detected