table of contents
other versions
- wheezy 3.2.78-1
MEMPOOL_DESTROY(9) | Memory Management in Linux | MEMPOOL_DESTROY(9) |
NAME¶
mempool_destroy - deallocate a memory poolSYNOPSIS¶
void
mempool_destroy(mempool_t * pool);
ARGUMENTS¶
poolpointer to the memory pool which was allocated
via mempool_create.
DESCRIPTION¶
this function only sleeps if the free_fn function sleeps. The caller has to guarantee that all elements have been returned to the pool (ie: freed) prior to calling mempool_destroy.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |