FreeRTOS C-Addons  1.1.0
C-Addon functionality to FreeRTOS
Data Fields
MemPool_t_ Struct Reference
Collaboration diagram for MemPool_t_:
Collaboration graph
[legend]

Data Fields

SemaphoreHandle_t Lock
 
Stack_t Stack
 
int ItemSize
 
int Alignment
 
unsigned char Buffer [1]
 

Detailed Description

The actual Memory Pool data structure.

This is a variable length data structure.

Definition at line 52 of file mem_pool.c.

Field Documentation

◆ Alignment

int Alignment

The overall alignment of an item.

Definition at line 72 of file mem_pool.c.

◆ Buffer

unsigned char Buffer[1]

The begining of the actual memory pool itself.

Definition at line 77 of file mem_pool.c.

◆ ItemSize

int ItemSize

Save the item size for additions.

Definition at line 67 of file mem_pool.c.

◆ Lock

SemaphoreHandle_t Lock

We need a lock to make this thread safe.

Definition at line 57 of file mem_pool.c.

◆ Stack

Stack_t Stack

Memory blocks are stored on a stack.

Definition at line 62 of file mem_pool.c.


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