µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::rtos::memory_pool::arena< T, blocks, block_size_bytes > Class Template Reference

Storage for a memory pool. More...

#include <os-mempool.h>

Public Attributes

pool [(blocks *block_size_bytes+sizeof(T) - 1)/sizeof(T)]
 

Detailed Description

template<typename T, std::size_t blocks, std::size_t block_size_bytes>
class os::rtos::memory_pool::arena< T, blocks, block_size_bytes >

Storage for a memory pool.

Each message is stored in an element extended to a multiple of pointers. The free lists is kept inside the blocks and does not require additional storage.

Definition at line 174 of file os-mempool.h.

Member Data Documentation

◆ pool

template<typename T , std::size_t blocks, std::size_t block_size_bytes>
T os::rtos::memory_pool::arena< T, blocks, block_size_bytes >::pool[(blocks *block_size_bytes+sizeof(T) - 1)/sizeof(T)]

Definition at line 177 of file os-mempool.h.


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