![]() |
Home / Documentation / 2.0 / API / | ![]() |
||
![]() ![]() ![]() |
||||
APR::Pool - Perl API for XXX | ||||
![]() ![]() |
|
||
cleanup_for_exec
META: Autogenerated - needs to be reviewed/completed
buffers, *don't* wait for subprocesses, and *don't* free any memory. * Run all of the child_cleanups, so that any unnecessary files are closed because we are about to exec a new program
clear
META: Autogenerated - needs to be reviewed/completed
Clear all memory in the pool and run all the cleanups. This also destroys all subpools.
$p->clear();
$p
(APR::Pool
)
The pool to clear
This does not actually free the memory, it just allows the pool to re-use this memory for the next allocation.
destroy
META: Autogenerated - needs to be reviewed/completed
Destroy the pool. This takes similar action as apr_pool_clear() and then frees all the memory.
$p->destroy();
$p
(APR::Pool
)
The pool to destroy
This will actually free the memory
is_ancestor
META: Autogenerated - needs to be reviewed/completed
Determine if pool a is an ancestor of pool b
$ret = $a->is_ancestor($b);
$a
(APR::Pool
)
The pool to search
$b
(APR::Pool
)
The pool to search for
$ret
(integer)
True if a is an ancestor of b, NULL is considered an ancestor of all pools.
tag
META: Autogenerated - needs to be reviewed/completed
Tag a pool (give it a name)
$pool->tag($tag);
$pool
(APR::Pool
)
The pool to tag
$tag
(string)
The tag
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
|
![]() |
![]() ![]() ![]() |