![]() |
SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Intrusive free-list node overlaid on the first word of every free block. More...
Public Attributes | |
| MemoryBlock * | next |
| next free block in the list, or nullptr if this is the last one | |
Intrusive free-list node overlaid on the first word of every free block.
When a block is free its first sizeof(MemoryBlock) bytes hold a next pointer to the next free block. No separate metadata array is required.
Definition at line 290 of file stk_memory_blockpool.h.
| MemoryBlock* stk::memory::BlockMemoryPool::MemoryBlock::next |
next free block in the list, or nullptr if this is the last one
Definition at line 292 of file stk_memory_blockpool.h.
Referenced by stk::memory::BlockMemoryPool::BuildFreeList(), stk::memory::BlockMemoryPool::Free(), and stk::memory::BlockMemoryPool::PopFreeList().