X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c526a223ed6f81f148222c4aa28c88f473cd0e7..66659ce0e491d1307cf48ec9f2da4f24c478ab46:/src/include/xbt/mmalloc.h diff --git a/src/include/xbt/mmalloc.h b/src/include/xbt/mmalloc.h index f2b85acfbd..6a872fec87 100644 --- a/src/include/xbt/mmalloc.h +++ b/src/include/xbt/mmalloc.h @@ -11,12 +11,17 @@ #include "src/internal_config.h" +/** Environment variable name used to pass the communication socket. + * + * It is set by `simgrid-mc` to enable MC support in the children processes. + * + * It is placed in this file so that it's visible from mmalloc and MC without sharing anythin of xbt in mmalloc + */ +#define MC_ENV_SOCKET_FD "SIMGRID_MC_SOCKET_FD" + #include /* for NULL */ #include /* for size_t */ -#include "xbt/dict.h" -#include "xbt/dynar.h" - SG_BEGIN_DECL /* Datatype representing a separate heap. The whole point of the mmalloc module is to allow several such heaps in the