MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_mempool_open

Function acl_mempool_open

lib_acl/src/stdlib/memory/acl_mempool.c:233–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void acl_mempool_open(size_t max_size, int use_mutex)
234{
235 if (__var_allocator == NULL)
236 __var_allocator = acl_allocator_create(max_size);
237
238 if (use_mutex)
239 mempool_init_with_mutex();
240 else
241 mempool_init_no_mutex();
242}
243
244void acl_mempool_close(void)
245{

Callers 4

mempool_bench_test2Function · 0.85
app_main_initFunction · 0.85
app_main_initFunction · 0.85
app_main_initFunction · 0.85

Calls 3

acl_allocator_createFunction · 0.85
mempool_init_with_mutexFunction · 0.85
mempool_init_no_mutexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…