#include <Malloc.h>
Collaboration diagram for ACE_Control_Block:

Public Methods | |
| void | dump (void) const |
| Dump the state of the object. | |
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. | |
| long | align_ [ACE_CONTROL_BLOCK_ALIGN_LONGS < 1 ? 1 : ACE_CONTROL_BLOCK_ALIGN_LONGS] |
| ACE_Malloc_Header | base_ |
| Dummy node used to anchor the freelist. This needs to come last... | |
Static Public Methods | |
| void | print_alignment_info (void) |
| Print out a bunch of size info for debugging. | |
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.
|
|
Dump the state of the object.
|
|
|
Print out a bunch of size info for debugging.
|
|
|
|
|
|
Dummy node used to anchor the freelist. This needs to come last...
|
|
|
Current head of the freelist.
|
|
|
Name of lock thats ensures mutual exclusion.
|
|
|
Head of the linked list of Name Nodes.
|
|
|
Reference counter.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000