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

Function tsd_wrapper_set

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

Source from the content-addressed store, hash-verified

36}
37
38JEMALLOC_ALWAYS_INLINE void
39tsd_wrapper_set(tsd_wrapper_t *wrapper) {
40 if (!TlsSetValue(tsd_tsd, (void *)wrapper)) {
41 malloc_write("<jemalloc>: Error setting TSD\n");
42 abort();
43 }
44}
45
46JEMALLOC_ALWAYS_INLINE tsd_wrapper_t *
47tsd_wrapper_get(bool init) {

Callers 3

tsd_win.hFile · 0.70
tsd_boot0Function · 0.70
tsd_boot1Function · 0.70

Calls 1

malloc_writeFunction · 0.50

Tested by

no test coverage detected