SuperTinyKernel™ RTOS 1.06.0
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk::memory::MemoryBlock Struct Reference

Intrusive free-list node overlaid on the first word of every free block. More...

Collaboration diagram for stk::memory::MemoryBlock:

Public Attributes

MemoryBlocknext
 next free block in the list, or nullptr if this is the last one

Detailed Description

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 291 of file stk_memory_blockpool.h.

Member Data Documentation

◆ next

MemoryBlock* stk::memory::MemoryBlock::next

next free block in the list, or nullptr if this is the last one

Definition at line 293 of file stk_memory_blockpool.h.


The documentation for this struct was generated from the following file: