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

Function malloc_tsd_cleanup_register

deps/jemalloc/src/tsd.c:355–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353#endif
354
355void
356malloc_tsd_cleanup_register(bool (*f)(void)) {
357 assert(ncleanups < MALLOC_TSD_CLEANUPS_MAX);
358 cleanups[ncleanups] = f;
359 ncleanups++;
360}
361
362static void
363tsd_do_data_cleanup(tsd_t *tsd) {

Callers 2

tsd_boot0Function · 0.50
tsd_boot0Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected