template<typename T, uint32_t pool_sz>
class rtos::MemoryPool< T, pool_sz >
Define and manage fixed-size memory pools of objects of a given type.
- Template Parameters
|T||data type of a single object (element). |
|queue_sz||maximum number of objects (elements) in the memory pool.|
- Memory considerations: The memory pool data store and control structures will be created on current thread's stack, both for the mbed OS and underlying RTOS objects (static or dynamic RTOS memory pools are not being used).
Definition at line 50 of file MemoryPool.h.