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

Function background_thread_init

deps/jemalloc/src/background_thread.c:529–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529static void
530background_thread_init(tsd_t *tsd, background_thread_info_t *info) {
531 malloc_mutex_assert_owner(tsd_tsdn(tsd), &background_thread_lock);
532 info->state = background_thread_started;
533 background_thread_info_init(tsd_tsdn(tsd), info);
534 n_background_threads++;
535}
536
537static bool
538background_thread_create_locked(tsd_t *tsd, unsigned arena_ind) {

Callers 2

Calls 3

tsd_tsdnFunction · 0.50

Tested by

no test coverage detected