Skip to content
Snippets Groups Projects
Commit f9f7ff66 authored by Nikita Pettik's avatar Nikita Pettik Committed by Nikita Pettik
Browse files

memtx: introduce interfaces for MemtxAllocator

That includes:
 - foreach_memtx_allocator() - for each basic allocator (Small and Sys
   so far) we declare corresponding MemtxAllocator. So to iterate over
   all allocators and invoke same function we are going to use this
   helper;
 - memtx_allocators_init() - invoke ::create() of each Allocator and
   corresponding MemtxAllocator;
 - memtx_allocators_destroy() - invoke ::destroy() of each Allocator
   and corresponding MemtxAllocator;
 - memtx_allocators_set_mode() - set given delayed free mode for each
   MemtxAllocator.

Follow-up #5419
parent ce2dcad5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment