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

Function ctl_boot

deps/jemalloc/src/ctl.c:1386–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1384}
1385
1386bool
1387ctl_boot(void) {
1388 if (malloc_mutex_init(&ctl_mtx, "ctl", WITNESS_RANK_CTL,
1389 malloc_mutex_rank_exclusive)) {
1390 return true;
1391 }
1392
1393 ctl_initialized = false;
1394
1395 return false;
1396}
1397
1398void
1399ctl_prefork(tsdn_t *tsdn) {

Callers 1

Calls 1

malloc_mutex_initFunction · 0.70

Tested by

no test coverage detected