Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
afw_pool_internal_multithreaded_self_s Struct Reference

Data Fields

afw_pool_t pub
 
apr_pool_t * apr_p
 Associated apr pool or NULL if it has not been created.
 
const afw_utf8_tname
 Optional pool name.
 
afw_pool_internal_multithreaded_self_tparent
 Parent pool of this pool.
 
afw_pool_internal_multithreaded_self_t *AFW_ATOMIC first_child
 
afw_pool_internal_multithreaded_self_t *AFW_ATOMIC next_sibling
 
AFW_ATOMIC afw_integer_t reference_count
 Pools reference count. More...
 
afw_pool_cleanup_tfirst_cleanup
 First cleanup function.
 
AFW_ATOMIC afw_size_t bytes_allocated
 Bytes allocated via afw_pool_malloc()/afw_pool_calloc().
 
afw_integer_t pool_number
 Unique number for pool.
 

Detailed Description

Definition at line 34 of file afw_pool_internal.h.

Field Documentation

◆ reference_count

AFW_ATOMIC afw_integer_t reference_count

Pools reference count.

This starts at 1 on create and is incremented and decremented by afw_pool_add_reference() and afw_pool_release().

Definition at line 59 of file afw_pool_internal.h.


The documentation for this struct was generated from the following file: