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

Function tsd_boot0

deps/jemalloc/include/jemalloc/internal/tsd_win.h:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69JEMALLOC_ALWAYS_INLINE bool
70tsd_boot0(void) {
71 tsd_tsd = TlsAlloc();
72 if (tsd_tsd == TLS_OUT_OF_INDEXES) {
73 return true;
74 }
75 malloc_tsd_cleanup_register(&tsd_cleanup_wrapper);
76 tsd_wrapper_set(&tsd_boot_wrapper);
77 tsd_booted = true;
78 return false;
79}
80
81JEMALLOC_ALWAYS_INLINE void
82tsd_boot1(void) {

Callers 1

tsd_bootFunction · 0.70

Calls 2

tsd_wrapper_setFunction · 0.70

Tested by

no test coverage detected