cp_mempool_destroy(3)
| cp_mempool(3) | libcprops - cp_mempool | cp_mempool(3) |
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)
| SEPTEMBER 2006 | libcprops.0.1.6 |
