X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ae66e43b95b26467c1cb9df271e83f51d3d7147b..7debb7bb97cba7c93b5112b6cf6ac345f1faa0a4:/src/msg/global.c diff --git a/src/msg/global.c b/src/msg/global.c index 3acc6b7e68..02ece3e41f 100644 --- a/src/msg/global.c +++ b/src/msg/global.c @@ -10,6 +10,7 @@ #include "msg/private.h" #include "xbt/sysdep.h" #include "xbt/log.h" +#include "xbt/virtu.h" #include "xbt/ex.h" /* ex_backtrace_display */ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_kernel, msg, "Logging specific to MSG (kernel)"); @@ -21,6 +22,8 @@ MSG_Global_t msg_global = NULL; * \brief This section describes the functions you need to know to * set up a simulation. You should have a look at \ref MSG_examples * to have an overview of their usage. + */ +/** @addtogroup msg_simulation * \htmlonly \endhtmlonly */ @@ -39,6 +42,7 @@ void MSG_global_init_args(int *argc, char **argv) */ void MSG_global_init(int *argc, char **argv) { + xbt_getpid = & MSG_process_self_PID; if (!msg_global) { SIMIX_global_init(argc, argv); @@ -49,8 +53,7 @@ void MSG_global_init(int *argc, char **argv) msg_global->max_channel = 0; msg_global->PID = 1; } - return; - + return; } /** \ingroup msg_easier_life @@ -64,6 +67,8 @@ void MSG_paje_output(const char *filename) /** \defgroup m_channel_management Understanding channels * \brief This section briefly describes the channel notion of MSG * (#m_channel_t). + */ +/** @addtogroup m_channel_management * \htmlonly \endhtmlonly * *