X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a809d7e6c41d91ba4e804783c61e35f197b196e..212a22112855f8531e29e54f0db872ec4f0f4b7e:/src/msg/private.h diff --git a/src/msg/private.h b/src/msg/private.h index af95d1a13c..697381fba0 100644 --- a/src/msg/private.h +++ b/src/msg/private.h @@ -16,6 +16,7 @@ #include "xbt/dict.h" #include "xbt/context.h" #include "xbt/config.h" +#include "xbt/mallocator.h" /**************** datatypes **********************************/ @@ -87,6 +88,8 @@ typedef struct MSG_Global { int paje_maxPID; int PID; int session; + xbt_mallocator_t task_mallocator; + xbt_mallocator_t task_simdata_mallocator; } s_MSG_Global_t, *MSG_Global_t; extern MSG_Global_t msg_global; @@ -123,6 +126,10 @@ int __MSG_process_isBlocked(m_process_t process); void __MSG_display_process_status(void); +m_task_t task_mallocator_new_f(void); +void task_mallocator_free_f(m_task_t task); +void task_mallocator_reset_f(m_task_t task); + #ifdef ALVIN_SPECIAL_LOGING #define PAJE_PROCESS_STATE(process,state)\ if(msg_global->paje_output) \