MCPcopy Create free account
hub / github.com/Tracktion/tracktion_engine / rpmalloc_initialize

Function rpmalloc_initialize

modules/3rd_party/rpmalloc/rpmalloc.c:2566–2573  ·  view source on GitHub ↗

Initialize the allocator and setup global data

Source from the content-addressed store, hash-verified

2564
2565//! Initialize the allocator and setup global data
2566extern inline int
2567rpmalloc_initialize(void) {
2568 if (_rpmalloc_initialized) {
2569 rpmalloc_thread_initialize();
2570 return 0;
2571 }
2572 return rpmalloc_initialize_config(0);
2573}
2574
2575int
2576rpmalloc_initialize_config(const rpmalloc_config_t* config) {

Callers 3

get_thread_heapFunction · 0.85
runRPMallocTestsMethod · 0.85

Calls 2

Tested by 1

runRPMallocTestsMethod · 0.68