Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move initialization somewhere else because people that do not use MSG_launch_applicat...
[simgrid.git] / src / msg / global.c
index 602ddc4..eb92d76 100644 (file)
@@ -53,6 +53,10 @@ void MSG_global_init(int *argc, char **argv)
     msg_global->process_list = xbt_fifo_new();
     msg_global->max_channel = 0;
     msg_global->PID = 1;
+
+    SIMIX_function_register_process_create(_MSG_process_create_from_SIMIX);
+    SIMIX_function_register_process_cleanup(__MSG_process_cleanup);
+    SIMIX_function_register_process_kill(_MSG_process_kill_from_SIMIX);
   }
   return;
 }