SimGrid  3.21
Versatile Simulation of Distributed Systems
mallocator.h File Reference
#include <xbt/function_types.h>
#include <xbt/misc.h>

Typedefs

typedef struct s_xbt_mallocator * xbt_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)
 
void xbt_mallocator_free (xbt_mallocator_t mallocator)
 
void * xbt_mallocator_get (xbt_mallocator_t mallocator)
 
void xbt_mallocator_release (xbt_mallocator_t mallocator, void *object)
 
void xbt_mallocator_initialization_is_done (int protect)