cp_shared_mempool_register(3)

cp_mempool(3) libcprops - cp_mempool cp_mempool(3)

NAME

cp_shared_mempool_register - register an allocation size with a shared memory pool

SYNOPSIS

#include <cprops/mempool.h>

cp_mempool *cp_shared_mempool_register(cp_shared_mempool *pool, size_t size);

DESCRIPTION

cp_shared_mempool_register registers the block size size with the pool pool. Although not strictly necessary, this will usually result in better performance both in terms of speed and allocation overhead than when using cp_shared_mempool for aribitrary (i.e. unregistered) size allocations.

RETURN VALUE

the

SEE ALSO

cp_shared_mempool_create(3), cp_shared_mempool_destroy(3), cp_shared_mempool_register(3), cp_shared_mempool_alloc(3), cp_shared_mempool_free(3), cp_mempool(3)

SEPTEMBER 2006 libcprops.0.1.6