}
*task = SIMIX_communication_get_data(comm);
-
+
/* If the sender didn't decremented the refcount so far then do it */
if (*task && (*task)->simdata->refcount > 1)
(*task)->simdata->refcount--;
msg_global->sent_msg++;
process->simdata->waiting_task = task;
-
+
/* Try to send it by calling SIMIX network layer */
TRY{
/* Kept for semantical compatibility with older implementation */
}
process->simdata->waiting_task = NULL;
-
+
/* If the receiver end didn't decremented the refcount so far then do it */
if (t_simdata->refcount > 1)
t_simdata->refcount--;