Reference

ACE_Control_Block(3)

This information is stored in memory allocated by the Memory_Pool.

NAME

ACE_Control_Block - This information is stored in memory allocated by the Memory_Pool.

SYNOPSIS

#include <ace/Malloc.h>
class ACE_Control_Block
{
  public:
    ACE_NAME_NODE_PTR name_head_;
    ACE_MALLOC_HEADER_PTR freep_;
    char lock_name_[MAXNAMELEN];
    ACE_Malloc_Stats malloc_stats_;
        long align_[ACE_CONTROL_BLOCK_ALIGN_LONGS < 1 ? 1 : ACE_CONTROL_BLOCK_ALIGN_LONGS];
        
    ACE_Malloc_Header base_;
    void dump (void) const;
  private:
    inline ACE_UNIMPLEMENTED_FUNC (
        void operator= (const ACE_Control_Block &)
        );
};

DESCRIPTION

This class should be local to class ACE_Malloc, but some older C++ compilers don't like nested classes in templates...

PUBLIC MEMBERS

ACE_NAME_NODE_PTR name_head_;

Head of the linked list of Name Nodes.

ACE_MALLOC_HEADER_PTR freep_;

Current head of the freelist.

char lock_name_[MAXNAMELEN];

Name of lock thats ensures mutual exclusion.

ACE_Malloc_Stats malloc_stats_;

    long align_[ACE_CONTROL_BLOCK_ALIGN_LONGS < 1 ? 1 : ACE_CONTROL_BLOCK_ALIGN_LONGS];
    

Force alignment.

ACE_Malloc_Header base_;

Dummy node used to anchor the freelist. This needs to come last...

void dump (void) const;

Dump the state of the object.

PRIVATE MEMBERS

inline ACE_UNIMPLEMENTED_FUNC (
    void operator= (const ACE_Control_Block &)
    );

AUTHOR

Doug Schmidt and Irfan Pyarali

LIBRARY

ace