std1.0.0-beta-7 SafeC docs

Module alloc::tlsf

#include <std/alloc/tlsf.h> source

TLSF (Two-Level Segregated Fit) Allocator O(1) real-time allocator with bounded fragmentation. Uses a two-level bitmap index for fast size-class lookup. Conforms to Allocator and ArenaAllocator (allocator.h): typed allocation is alloc_t / alloc_array_t / dealloc_t there.

Structs

TlsfBlock
TlsfAllocator

Macros

TLSF_FL_MAX
TLSF_SL_COUNT