MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / rpmalloc_initialize

Function rpmalloc_initialize

source/extern/rpmalloc.c:2758–2765  ·  view source on GitHub ↗

Initialize the allocator and setup global data

Source from the content-addressed store, hash-verified

2756
2757//! Initialize the allocator and setup global data
2758extern inline int
2759rpmalloc_initialize(void) {
2760 if (_rpmalloc_initialized) {
2761 rpmalloc_thread_initialize();
2762 return 0;
2763 }
2764 return rpmalloc_initialize_config(0);
2765}
2766
2767int
2768rpmalloc_initialize_config(const rpmalloc_config_t* config) {

Callers 5

DllMainFunction · 0.85
_global_rpmalloc_initFunction · 0.85
initializerFunction · 0.85
pthread_create_proxyFunction · 0.85
get_thread_heapFunction · 0.85

Calls 2

Tested by

no test coverage detected