Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
now that the simcall has been created, use it
authorAugustin Degomme <degomme@idpann.imag.fr>
Fri, 10 Aug 2012 08:53:24 +0000 (10:53 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Fri, 10 Aug 2012 08:53:24 +0000 (10:53 +0200)
src/msg/msg_mailbox.c
src/smpi/smpi_global.c

index 14b1540..984df9d 100644 (file)
@@ -59,7 +59,7 @@ msg_mailbox_t MSG_mailbox_get_by_alias(const char *alias)
 void MSG_mailbox_set_async(const char *alias){
   msg_mailbox_t mailbox = MSG_mailbox_get_by_alias(alias);
 
-  SIMIX_rdv_set_receiver(mailbox, SIMIX_process_self());
+  simcall_rdv_set_receiver(mailbox, SIMIX_process_self());
   XBT_VERB("%s mailbox set to receive eagerly for process %p\n",alias, SIMIX_process_self());
 
 }
index fcaaf23..c1c5715 100644 (file)
@@ -65,7 +65,7 @@ void smpi_process_init(int *argc, char ***argv)
     (*argc)--;
     data->argc = argc;
     data->argv = argv;
-    SIMIX_rdv_set_receiver(data->mailbox_small, proc);// set the process attached to the mailbox
+    simcall_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);
   }
 }