Collaboration diagram for Memory Pool Functions:
|
|
|
|
the place in the code where the particular function was called Definition at line 136 of file apr_pools.h. |
|
|
Create a new pool.
Definition at line 235 of file apr_pools.h. Referenced by ap_core_reorder_directories(), ap_mpm_child_main(), ap_mpm_run(), ap_read_request(), APR_OPTIONAL_FN_TYPE(), apr_thread_create(), cgid_server(), cgid_start(), check_speling(), child_main(), child_pool(), create_process(), dav_method_propfind(), dav_send_multistatus(), groups_for_user(), htdbm_init(), includes_filter(), init_cache(), main(), make_sub_request(), make_worker(), open_scoreboard(), output_directories(), parent_pool(), setup_module_cells(), sort_hook(), start_connect(), testud(), trace_add(), uncompress(), and worker_thread(). |
|
|
Pool debug levels
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---------------------------------
| | | | | | | | x | General debug code enabled (usefull in
combination with --with-efence).
| | | | | | | x | | Verbose output on stderr (report
CREATE, CLEAR, DESTROY).
| | | | x | | | | | Verbose output on stderr (report
PALLOC, PCALLOC).
| | | | | | x | | | Lifetime checking. On each use of a
pool, check its lifetime. If the pool
is out of scope, abort().
In combination with the verbose flag
above, it will output LIFE in such an
event prior to aborting.
| | | | | x | | | | Pool owner checking. On each use of a
pool, check if the current thread is the
pools owner. If not, abort(). In
combination with the verbose flag above,
it will output OWNER in such an event
prior to aborting. Use the debug
function apr_pool_owner_set() to switch
a pools ownership.
When no debug level was specified, assume general debug mode. If level 0 was specified, debugging is switched off Definition at line 132 of file apr_pools.h. |
|
|
Value: APR_DECLARE(apr_pool_t *) apr_##type##_pool_get \ (const apr_##type##_t *the##type) This standardized macro is used by opaque (APR) data types to return the apr_pool_t that is associated with the data type. APR_POOL_DECLARE_ACCESSOR() is used in a header file to declare the accessor function. A typical usage and result would be:
APR_POOL_DECLARE_ACCESSOR(file);
becomes:
APR_DECLARE(apr_pool_t *) apr_file_pool_get(apr_file_t *ob);
Definition at line 75 of file apr_pools.h. |
|
|
Value: APR_DECLARE(apr_pool_t *) apr_##type##_pool_get \ (const apr_##type##_t *the##type) \ { return the##type->pool; } In the implementation, the APR_POOL_IMPLEMENT_ACCESSOR() is used to actually define the function. It assumes the field is named "pool". Definition at line 85 of file apr_pools.h. |
|
|
Definition at line 247 of file apr_pools.h. Referenced by isapi_pre_config(), service_stderr_thread(), ssl_scache_dbm_expire(), and ssl_scache_dbm_kill(). |
|
|
A function that is called when allocation fails. Definition at line 141 of file apr_pools.h. |
|
|
The fundamental pool type Definition at line 54 of file apr_pools.h. |
|
|
Determine if pool a is an ancestor of pool b
|
|
|
Get the current owner of the allocator
Definition at line 137 of file apr_pools.c. |
|
|
Get the abort function associated with the specified pool.
Definition at line 2220 of file apr_pools.c. |
|
|
Allocate a block of memory from a pool
Definition at line 665 of file apr_pools.c. |
|
|
Find the pools allocator
Definition at line 1763 of file apr_pools.c. |
|
|
Register an other_child -- a child associated to its registered maintence callback. This callback is invoked when the process dies, is disconnected or disappears.
Definition at line 131 of file apr_pools.c. |
|
|
convert an ansi time_t to an apr_time_t
Definition at line 24 of file netware/dso.c. |
|
|
An empty cleanup function
Definition at line 1992 of file apr_pools.c. |
|
|
|
|
|
|
|
|
Definition at line 207 of file apr_pools.h. |
|
|
Definition at line 207 of file apr_pools.h. Referenced by APU_DECLARE_NONSTD(), child_main(), listener_thread(), worker_main(), and worker_thread(). |
|
|
Definition at line 421 of file apr_pools.h. |
|
|
Definition at line 538 of file apr_pools.h. |
|
|
Definition at line 550 of file apr_pools.h. |
|
|
Definition at line 549 of file apr_pools.h. |
|
|
Definition at line 366 of file apr_pools.h. |
|
|
Definition at line 490 of file apr_pools.h. |
|
|
Definition at line 207 of file apr_pools.h. |
|
|
|
|
|
Definition at line 490 of file apr_pools.h. |
|
|
Definition at line 366 of file apr_pools.h. |
|
|
Definition at line 428 of file apr_pools.h. |