Pool Management

group OS_POOL

Manage task-safe and fixed-size blocks of dynamic memory.

Memory pools are fixed-size blocks of memory that are task-safe. They operate much faster than the dynamically allocated heap and do not suffer from fragmentation. Being task-safe, they can be accessed from tasks and ISRs alike.

Shared memory is one of the basic models to exchange information between tasks. Using memory pools for exchanging data, more complex objects can be shared between tasks compared to the Message Queue. Memory pool management functions are used to define and manage such fixed-sized memory pools.

../_images/OS-pool-overview.jpg