#include <stdlib.h>
#include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
#include "xbt.h" /* calloc, printf */
-
+#include "simgrid_config.h" /* getline */
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
"Messages specific for this msg example");
}
-static void wait(xbt_dynar_t action)
+static void wait_action(xbt_dynar_t action)
{
char *name = xbt_str_join(action, " ");
char task_name[80];
MSG_action_register("Isend", Isend);
MSG_action_register("recv", recv);
MSG_action_register("Irecv", Irecv);
- MSG_action_register("wait", wait);
+ MSG_action_register("wait", wait_action);
MSG_action_register("barrier", barrier);
MSG_action_register("bcast", bcast);
MSG_action_register("reduce", reduce);