Crate iceoryx2_bb_memory
source ·Modules§
- A threadsafe and lock-free bump allocator which implements the
BaseAllocator
. It can be allocated withBumpAllocator::allocate()
butBumpAllocator::deallocate
deallocate all allocated chunks. See this:https://os.phil-opp.com/allocator-designs/
for more details. - A threadsafe and lock-free
Allocator
which acquires the memory from the heap. - A fixed size piece of uninitialized memory. It comes with an allocator so that it can be used in combination with data structures than can use a custom allocator to implement simplistic fixed size versions of them.
- A non-threadsafe
Allocator
which manages only on chunk. When allocating memory always the maximum amount of available aligned memory is provided. - A threadsafe, lock-free bucket
Allocator
which partitions the provided memory into buckets of equal size with a given alignment. The memory chunks cannot be resized or greater than the maximum bucket size.