mempool_destroy
Prev | More Memory Management Functions | Next

## Name

mempool_destroy — deallocate a memory pool

## Synopsis

`void mempool_destroy (` | mempool_t * pool`)`;

## Arguments

`pool`

  pointer to the memory pool which was allocated via `mempool_create`.

## Description

Free all reserved elements in `pool` and `pool` itself. This function only sleeps if the `free_fn` function sleeps.

Prev | Up | Next
alloc_contig_range | Home | mempool_create