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

Function tsd_wrapper_set

deps/jemalloc/include/jemalloc/internal/tsd_generic.h:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53JEMALLOC_ALWAYS_INLINE void
54tsd_wrapper_set(tsd_wrapper_t *wrapper) {
55 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) {
56 malloc_write("<jemalloc>: Error setting TSD\n");
57 abort();
58 }
59}
60
61JEMALLOC_ALWAYS_INLINE tsd_wrapper_t *
62tsd_wrapper_get(bool init) {

Callers 3

tsd_generic.hFile · 0.70
tsd_boot0Function · 0.70
tsd_boot1Function · 0.70

Calls 1

malloc_writeFunction · 0.50

Tested by

no test coverage detected