cp_shared_mempool_register(3) - Linux man page
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)