本文主要是介绍apache 中的apr_pool(内存池概览),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
APR_POOL 帮助文档
Directory tree
1. Brief introduction of apr_pool--------------------------------
2. There are three basic APIs as follows:----------------------
APR_DECLARE(apr_status_t) apr_pool_create(apr_pool_t **newpool,
apr_pool_t *parent);
APR_DECLARE(void *) apr_palloc(apr_pool_t *p, apr_size_t size);
APR_DECLARE(void) apr_pool_destroy(apr_pool_t *p);
i.
3. Give a demonstration----------------------------------------------
4. The detail-----------------------------------------------------------
5. The contrast apr_palloc/apr_pcallo between malloc/ cal lo---------------------------------------------------------------
( Apr_pool_clearn and apr_pool_destroy------------------------- )
6. Delegate or hook function-------------------------------------
7.
这篇关于apache 中的apr_pool(内存池概览)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!