Atrinik Server 2.5
Data Fields
mempool_chunk Struct Reference

#include <mempool.h>

Data Fields

struct mempool_chunknext

Detailed Description

Enable a global list of *all* objects we have allocated. We can browse them to control and debug them.

Warning:
Enabling this feature will slow down the server by an HUGE amount and should only be done in real debug runs. Minimalistic memory management data for a single chunk of memory.

It is (currently) up to the application to keep track of which pool it belongs to.

Definition at line 49 of file mempool.h.


Field Documentation

Used for the free list and the limbo list. NULL if this memory chunk has been allocated and is in use

Definition at line 58 of file mempool.h.


The documentation for this struct was generated from the following file: