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

Function tsd_boot0

deps/jemalloc/include/jemalloc/internal/tsd_tls.h:13–20  ·  view source on GitHub ↗

Initialization/cleanup. */

Source from the content-addressed store, hash-verified

11
12/* Initialization/cleanup. */
13JEMALLOC_ALWAYS_INLINE bool
14tsd_boot0(void) {
15 if (pthread_key_create(&tsd_tsd, &tsd_cleanup) != 0) {
16 return true;
17 }
18 tsd_booted = true;
19 return false;
20}
21
22JEMALLOC_ALWAYS_INLINE void
23tsd_boot1(void) {

Callers 2

tsd_bootFunction · 0.70
malloc_tsd_boot0Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected