X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1ab3563b9f429a75fbbdc95c6d3405fc4368d876..5ce5e2ee7fd0dd8344be0823d7bd7c4abb16b284:/src/gras/Msg/msg_private.h diff --git a/src/gras/Msg/msg_private.h b/src/gras/Msg/msg_private.h index 7b03a7ae15..69fd2dc414 100644 --- a/src/gras/Msg/msg_private.h +++ b/src/gras/Msg/msg_private.h @@ -121,4 +121,12 @@ XBT_PUBLIC gras_msg_cb_ctx_t gras_msg_cb_ctx_new(gras_socket_t expe, double timeout); +/* We deploy a mallocator on the RPC contextes */ +#include "xbt/mallocator.h" +extern xbt_mallocator_t gras_msg_ctx_mallocator; +XBT_PUBLIC void* gras_msg_ctx_mallocator_new_f(void); +XBT_PUBLIC void gras_msg_ctx_mallocator_free_f(void* dict); +XBT_PUBLIC void gras_msg_ctx_mallocator_reset_f(void* dict); + + #endif /* GRAS_MESSAGE_PRIVATE_H */