#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)");
* \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 <!-- DOXYGEN_NAVBAR_LABEL="Simulation functions" --> \endhtmlonly
*/
*/
void MSG_global_init(int *argc, char **argv)
{
+ xbt_getpid = & MSG_process_self_PID;
if (!msg_global) {
SIMIX_global_init(argc, argv);
msg_global->max_channel = 0;
msg_global->PID = 1;
}
- return;
-
+ return;
}
/** \ingroup msg_easier_life
/** \defgroup m_channel_management Understanding channels
* \brief This section briefly describes the channel notion of MSG
* (#m_channel_t).
+ */
+/** @addtogroup m_channel_management
* \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Channels" --> \endhtmlonly
*
*