SimGrid  3.18
Versatile Simulation of Distributed Systems
mallocator.h File Reference
#include "xbt/function_types.h"
#include "xbt/misc.h"

Typedefs

typedef struct s_xbt_mallocatorxbt_mallocator_t
 Mallocator data type (opaque structure) More...
 

Functions

xbt_mallocator_t xbt_mallocator_new (int size, pvoid_f_void_t new_f, void_f_pvoid_t free_f, void_f_pvoid_t reset_f)
 Constructor. More...
 
void xbt_mallocator_free (xbt_mallocator_t mallocator)
 Destructor. More...
 
voidxbt_mallocator_get (xbt_mallocator_t mallocator)
 Extract an object from a mallocator. More...
 
void xbt_mallocator_release (xbt_mallocator_t mallocator, void *object)
 Push an object into a mallocator. More...
 
void xbt_mallocator_initialization_is_done (int protect)
 This function must be called once the framework configuration is done. More...