cp_mempool

Section: libcprops - cp_mempool (3)
Updated: SEPTEMBER 2006
Index Return to Main Contents
 

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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 17:58:11 GMT, September 08, 2006
SourceForge.net Logo