Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add some comments to avoid that someone breaks the MC with a 'trivial cleanup'
[simgrid.git] / src / msg / msg_mailbox.c
index 8f543a8..83840e5 100644 (file)
@@ -240,7 +240,7 @@ MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, msg_task_t task,
 
   /* Try to send it by calling SIMIX network layer */
   TRY {
-    smx_action_t comm = NULL;
+    smx_action_t comm = NULL; /* MC needs the comm to be set to NULL during the simix call  */
     comm = simcall_comm_isend(mailbox, t_simdata->message_size,
                                   t_simdata->rate, task, sizeof(void *),
                                   NULL, NULL, task, 0);