9 #ifndef __AFW_POOL_INTERNAL_H__
10 #define __AFW_POOL_INTERNAL_H__
132 afw_pool_internal_create_base_pool();
145 afw_pool_internal_create_thread(
162 afw_pool_internal_create_thread_debug(
168 #ifdef AFW_POOL_DEBUG
169 #define afw_pool_internal_create_thread(size,xctx) \
170 afw_pool_internal_create_thread_debug(size, xctx, AFW__FILE_LINE__)
#define AFW_BEGIN_DECLARES
#define AFW_DECLARE(type)
Declare a public afw function.
Interfaceafw_interface header.
afw_utf8_octet_t afw_utf8_z_t
NFC normalized UTF-8 null terminated string.
apr_size_t afw_size_t
size_t.
apr_int64_t afw_integer_t
typedef for big signed int.
Struct for registered cleanup functions.
apr_pool_t * apr_p
Associated apr pool or NULL if it has not been created.
afw_pool_cleanup_t * first_cleanup
First cleanup function.
afw_integer_t pool_number
Unique number for pool.
afw_pool_internal_multithreaded_self_t * parent
Parent pool of this pool.
AFW_ATOMIC afw_size_t bytes_allocated
Bytes allocated via afw_pool_malloc()/afw_pool_calloc().
AFW_ATOMIC afw_integer_t reference_count
Pools reference count.
const afw_utf8_t * name
Optional pool name.
afw_size_t bytes_allocated
Bytes allocated via afw_pool_malloc()/afw_pool_calloc().
apr_pool_t * apr_p
Associated apr pool or NULL if it has not been created.
afw_pool_cleanup_t * first_cleanup
First cleanup function.
afw_integer_t pool_number
Unique number for pool.
afw_pool_internal_singlethreaded_self_t * parent
Parent pool of this pool.
const afw_utf8_t * name
Optional pool name.
afw_integer_t reference_count
Pools reference count.
const afw_thread_t * thread
Thread associated with a thread specific pool.
Interface afw_pool public struct.
Struct for public part of afw_pool_t.
NFC normalized UTF-8 string.
Interface afw_xctx public struct.