Struct MemHeader.MemChunk
MemChunk - The node of a free mem segment
struct MemChunk
;
All free memory chunks are part of a linked list. That is the reason. why it is called a free-list allocator. The Chunk has at least MEM_BLOCKSIZE bytes granularity.
Fields
Name | Type | Description |
---|---|---|
mc_Bytes
|
ulong | Size of this MemChunk. |
mc_Node
|
LinkedList!(va_toolbox.linked_list.LinkedListEmptyMixin,va_toolbox.linked_list.LinkedListEmptyMixin) | Minimalistic listnode, just two pointers |