Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add getter/setter functions in simix to access more cleanly the process associated...
[simgrid.git] / src / smpi / smpi_global.c
index cdbdc96..4560524 100644 (file)
@@ -67,7 +67,7 @@ void smpi_process_init(int *argc, char ***argv)
     (*argc)--;
     data->argc = argc;
     data->argv = argv;
-    data->mailbox_small->permanent_receiver=proc;// set the process attached to the mailbox
+    SIMIX_rdv_set_receiver(data->mailbox_small, proc);// set the process attached to the mailbox
     XBT_DEBUG("<%d> New process in the game: %p", index, proc);
   }
 }