mempool_free — return an element to the pool.
void mempool_free (
)
void * element
pool element pointer.
mempool_t * pool
pointer to the memory pool which was allocated via mempool_create.
mempool_create
this function only sleeps if the free_fn function sleeps.
free_fn