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

Function tsd_internal_fetch

deps/jemalloc/include/jemalloc/internal/tsd.h:369–376  ·  view source on GitHub ↗

For internal background threads use only. */

Source from the content-addressed store, hash-verified

367
368/* For internal background threads use only. */
369JEMALLOC_ALWAYS_INLINE tsd_t *
370tsd_internal_fetch(void) {
371 tsd_t *tsd = tsd_fetch_min();
372 /* Use reincarnated state to prevent full initialization. */
373 tsd_state_set(tsd, tsd_state_reincarnated);
374
375 return tsd;
376}
377
378JEMALLOC_ALWAYS_INLINE tsd_t *
379tsd_fetch(void) {

Callers 1

background_thread_entryFunction · 0.50

Calls 2

tsd_state_setFunction · 0.85
tsd_fetch_minFunction · 0.70

Tested by

no test coverage detected