cp_mempool_destroy(3) - Linux man page
Name
cp_mempool_destroy - deallocate a memory pool
Synopsis
#include <cprops/mempool.h>
void cp_mempool_destroy(cp_mempool *pool);
Description
cp_mempool_destroy decreases the reference count on a memory pool created with
cp_mempool_create(3) or cp_mempool_create_by_option(3). When the reference count reaches zero, the pool and all memory associated
with it are deallocated.
See Also
cp_mempool_create(3), cp_mempool_alloc(3), cp_mempool_free(3),
cp_shared_mempool(3)
Referenced By
cp_mempool(3),
cp_mempool_inc_refcount(3)