|
ACE 6.0.5
|
This information is stored in memory allocated by the <Memory_Pool>. More...
#include <Malloc.h>

Classes | |
| class | ACE_Malloc_Header |
| This is the control block header. It's used by <ACE_Malloc> to keep track of each chunk of data when it's in the free list or in use. More... | |
| class | ACE_Name_Node |
| This class supports "named memory regions" within ACE_Malloc. More... | |
Public Member Functions | |
| void | dump (void) const |
| Dump the state of the object. | |
Static Public Member Functions | |
| static void | print_alignment_info (void) |
| Print out a bunch of size info for debugging. | |
Public Attributes | |
| int | ref_counter_ |
| Reference counter. | |
| ACE_Name_Node * | name_head_ |
| Head of the linked list of Name Nodes. | |
| ACE_Malloc_Header * | freep_ |
| Current head of the freelist. | |
| char | lock_name_ [MAXNAMELEN] |
| Name of lock thats ensures mutual exclusion. | |
| char | align_ [(ACE_CONTROL_BLOCK_ALIGN_BYTES)?ACE_CONTROL_BLOCK_ALIGN_BYTES:ACE_MALLOC_ALIGN] |
| ACE_Malloc_Header | base_ |
| Dummy node used to anchor the freelist. This needs to come last... | |
This information is stored in memory allocated by the <Memory_Pool>.
This class defines the "old" control block class for use in ACE_Malloc_T. This control block implementation is considerable more efficient than the "position independent" one below (ACE_PI_Control_Block) but if you are going to use it to construct a ACE_Malloc_T and access the memory from several different processes, you must "map" the underlying memory pool to the same address.
| void ACE_Control_Block::dump | ( | void | ) | const |
Dump the state of the object.
| void ACE_Control_Block::print_alignment_info | ( | void | ) | [static] |
Print out a bunch of size info for debugging.
| char ACE_Control_Block::align_[(ACE_CONTROL_BLOCK_ALIGN_BYTES)?ACE_CONTROL_BLOCK_ALIGN_BYTES:ACE_MALLOC_ALIGN] |
Dummy node used to anchor the freelist. This needs to come last...
Current head of the freelist.
| char ACE_Control_Block::lock_name_[MAXNAMELEN] |
Name of lock thats ensures mutual exclusion.
Head of the linked list of Name Nodes.
Reference counter.
1.7.4