|
QP/C
|
Native QF Memory Pool. More...
#include <qmpool.h>
Data Fields | |
| void * | free_head |
| void * | start |
| void * | end |
| QMPoolSize | blockSize |
| QMPoolCtr | nTot |
| QMPoolCtr | nFree |
| QMPoolCtr | nMin |
Native QF Memory Pool.
This structure describes the native QF memory pool, which can be used as the event pool for dynamic event allocation, or as a fast, deterministic fixed block-size heap for any other objects in your application.
The QMPool structure contains only data members for managing a memory pool, but does not contain the pool storage, which must be provided externally during the pool initialization.
The native QF event pool is configured by defining the macro QF_EPOOL_TYPE_ as QMPool in the specific QF port header file.
| QMPoolSize QMPool::blockSize |
| void* QMPool::end |
the last memory block managed by this memory pool
Definition at line 114 of file qmpool.h.
Referenced by QMPool_put().
| void* QMPool::free_head |
The head of the linked list of free blocks
Definition at line 106 of file qmpool.h.
Referenced by QMPool_put().
| QMPoolCtr QMPool::nFree |
number of free blocks remaining
Definition at line 126 of file qmpool.h.
Referenced by QMPool_put().
| QMPoolCtr QMPool::nMin |
minimum number of free blocks ever present in this pool
| QMPoolCtr QMPool::nTot |
| void* QMPool::start |
1.7.6.1