Subversion 1.6.16
|
APR pool management for Subversion. More...
#include <apr_pools.h>
Go to the source code of this file.
Defines | |
#define | SVN_ALLOCATOR_RECOMMENDED_MAX_FREE (4096 * 1024) |
The recommended maximum amount of memory (4MB) to keep in an APR allocator on the free list, conveniently defined here to share between all our applications. | |
#define | svn_pool_create(parent_pool) svn_pool_create_ex(parent_pool, NULL) |
Create a pool as a subpool of parent_pool. | |
#define | svn_pool_clear apr_pool_clear |
Clear a pool destroying its children. | |
#define | svn_pool_destroy apr_pool_destroy |
Destroy a pool and all of its children. | |
Functions | |
apr_pool_t * | svn_pool_create_ex (apr_pool_t *parent_pool, apr_allocator_t *allocator) |
Wrapper around apr_pool_create_ex(), with a simpler interface. |
APR pool management for Subversion.
Definition in file svn_pools.h.
#define svn_pool_clear apr_pool_clear |
Clear a pool destroying its children.
This define for svn_pool_clear
exists for completeness.
Definition at line 74 of file svn_pools.h.
#define svn_pool_destroy apr_pool_destroy |
Destroy a pool and all of its children.
This define for svn_pool_destroy
exists for symmetry and completeness.
Definition at line 82 of file svn_pools.h.
apr_pool_t* svn_pool_create_ex | ( | apr_pool_t * | parent_pool, |
apr_allocator_t * | allocator | ||
) |
Wrapper around apr_pool_create_ex(), with a simpler interface.
The return pool will have an abort function set, which will call abort() on OOM.