|
QP/C
|
QMPool_put() implementation. More...
Go to the source code of this file.
Functions | |
| void | QMPool_put (QMPool *const me, void *b) |
| Returns a memory block back to a memory pool. | |
QMPool_put() implementation.
Definition in file qmp_put.c.
| void QMPool_put | ( | QMPool *const | me, |
| void * | b | ||
| ) |
Returns a memory block back to a memory pool.
The first parameter me is a pointer to the QMPool to which the block is returned. The second parameter is the pointer to the returned memory block.
This function can be called from any task level or ISR level.
Definition at line 55 of file qmp_put.c.
References QMPool::end, QMPool::free_head, QMPool::nFree, QMPool::nTot, Q_REQUIRE, QS_BEGIN_NOCRIT_, QS_END_NOCRIT_, QS_mpObj_, QS_OBJ_, QS_QF_MPOOL_PUT, QS_TIME_, and QMPool::start.
1.7.6.1