ACE_Malloc_Header(3)

ACE_Malloc_Header3

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.

Usage

#include <ace/Malloc.h>
class ACE_Malloc_Header
{
  public:
    ACE_Malloc_Header (void);
    ACE_MALLOC_HEADER_PTR next_block_;
    size_t size_;
        long padding_[ACE_MALLOC_PADDING_SIZE < 1 : ACE_MALLOC_PADDING_SIZE];
        
    void dump (void) const;
  private:
    inline ACE_UNIMPLEMENTED_FUNC (
        void operator= (const ACE_Malloc_Header &)
        );
};

Public members

ACE_Malloc_Header (void);
ACE_MALLOC_HEADER_PTR next_block_;

Points to next block if on free list.

size_t size_;

Size of this header control block.

long padding_[ACE_MALLOC_PADDING_SIZE < 1 : ACE_MALLOC_PADDING_SIZE];
void dump (void) const;

Dump the state of the object.

Private members

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

Library

ace

Author

Doug Schmidt and Irfan Pyarali

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.