1. NAME▲

mempool_free - return an element to the pool.

2. SYNOPSIS ▲

void mempool_free(void *  element , mempool_t *  pool );

3. ARGUMENTS ▲

element
    pool element pointer.

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

4. DESCRIPTION ▲

this function only sleeps if the free_fn function sleeps.

5. COPYRIGHT ▲