Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not use the data argument of isend anymore.
authorcristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 15 Dec 2010 16:05:18 +0000 (16:05 +0000)
committercristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 15 Dec 2010 16:05:18 +0000 (16:05 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9259 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/msg/gos.c

index 92dfac4..3010fa0 100644 (file)
@@ -411,10 +411,10 @@ msg_comm_t MSG_task_isend(m_task_t task, const char *alias)
   msg_global->sent_msg++;
 
   /* Send it by calling SIMIX network layer */
-
-  return SIMIX_req_comm_isend(mailbox, t_simdata->message_size,
-                             t_simdata->rate, task, sizeof(void *), NULL,
-                             &t_simdata->comm);
+  t_simdata->comm =
+    SIMIX_req_comm_isend(mailbox, t_simdata->message_size,
+                         t_simdata->rate, task, sizeof(void *), NULL, NULL);
+  return t_simdata->comm;
 }
 
 /** \ingroup msg_gos_functions