cp_multimap
Section: libcprops - cp_multimap (3)
Updated: OCT 2007
Index
Return to Main Contents
NAME
cp_multimap_use_mempool, cp_multimap_share_mempool - use a memory pool for internal multimap allocations
SYNOPSIS
#include <cprops/multimap.h>
int cp_multimap_use_mempool(cp_multimap *tree, cp_mempool *pool);
int cp_multimap_share_mempool(cp_multimap *tree,
cp_shared_mempool *pool);
DESCRIPTION
cp_multimap_use_mempool
sets the map to use given mempool or allocate a new one if pool is NULL.
cp_multimap_share_mempool
sets the map to use a shared memory pool.
RETURN VALUE
cp_multimap_use_mempool
and
cp_multimap_share_mempool
return zero on success or non-zero on failure. Faliures may be due to locking
errors, memory allocation failure, or if the map is not empty when attempting
to assign a mempool.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
This document was created by
man2html,
using the manual pages.
Time: 18:30:36 GMT, December 01, 2007