---
name: "ACE_Control_Block"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Control_Block"
---

# 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
