#include <PI_Malloc.h>
Collaboration diagram for ACE_PI_Control_Block:
Public Types | |
typedef ACE_Based_Pointer< ACE_Malloc_Header > | MALLOC_HEADER_PTR |
typedef ACE_Based_Pointer< ACE_Name_Node > | NAME_NODE_PTR |
typedef ACE_Based_Pointer_Basic< char > | CHAR_PTR |
Public Methods | |
void | dump (void) const |
Dump the state of the object. | |
Static Public Methods | |
void | print_alignment_info (void) |
Print out a bunch of size info for debugging. | |
Public Attributes | |
int | ref_counter_ |
Reference counter. | |
NAME_NODE_PTR | name_head_ |
Head of the linked list of Name Nodes. | |
MALLOC_HEADER_PTR | freep_ |
Current head of the freelist. | |
char | lock_name_ [MAXNAMELEN] |
Name of lock thats ensures mutual exclusion. | |
char | align_ [(ACE_PI_CONTROL_BLOCK_ALIGN_BYTES)?ACE_PI_CONTROL_BLOCK_ALIGN_BYTES:ACE_MALLOC_ALIGN] |
Force alignment. | |
ACE_Malloc_Header | base_ |
Dummy node used to anchor the freelist. This needs to come last... | |
Private Methods | |
void | operator= (const ACE_Control_Block &) |
This class implements the control block structure that can be used in a "position indepent" fashion, i.e., you don't need to "map" the underlying memory pool to the same address in processes sharing the memory. The tradoff of this flexibility is more expensive malloc/free operations.
|
|
|
|
|
|
|
Dump the state of the object.
|
|
|
|
Print out a bunch of size info for debugging.
|
|
Force alignment.
|
|
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.
|