Skip to content

Struct SYN_Pool

ClassList > SYN_Pool

Fixed-size block memory pool.

  • #include <syn_pool.h>

Public Attributes

Type Name
size_t block_count
size_t block_size
uint8_t * buf
void * freelist
size_t high_water
size_t used

Public Attributes Documentation

variable block_count

size_t SYN_Pool::block_count;

Total number of blocks


variable block_size

size_t SYN_Pool::block_size;

Aligned block size in bytes


variable buf

uint8_t* SYN_Pool::buf;

Backing storage


variable freelist

void* SYN_Pool::freelist;

Head of the freelist (NULL when empty)


variable high_water

size_t SYN_Pool::high_water;

Peak allocation count


variable used

size_t SYN_Pool::used;

Currently allocated blocks



The documentation for this class was generated from the following file src/syntropic/util/syn_pool.h