Definition:
typedef struct pool pool;
typedef struct pool ap_pool;
struct pool opaque-structure
Usage example:
No examples available.
Memory pool allocation routines in Apache are designed so that developers don't have to keep track of every allocation so that it can be explicitly freed later.
Instead, Apache uses memory pools, and items (both memory and I/O handlers) are allocated from them. Currently there are two long-term pools; one for per-transaction info (request_rec and conn_rec structures and such), and one for config info (server_rec structures, et alia). When a transaction is over, Apache can delete everything in the per-transaction pool without fear, and without thinking too hard about it either.
There are two reasons a pool can be destroyed:
exec another
program.
Previous: AP_MD5_CTX
Next: ap_vformatter_buff
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)