X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/794c022b0b35e1379ce8e4e0a6b26f83ee07c95b..5d038603f775914afc8c6f35eff53f3682802f5b:/src/msg/gos.c diff --git a/src/msg/gos.c b/src/msg/gos.c index 859bb082a9..c272f1ea0e 100644 --- a/src/msg/gos.c +++ b/src/msg/gos.c @@ -409,12 +409,12 @@ msg_comm_t MSG_task_isend(m_task_t task, const char *alias) t_simdata->refcount++; msg_global->sent_msg++; - process->simdata->waiting_task = task; + //process->simdata->waiting_task = task; /* Send it by calling SIMIX network layer */ return SIMIX_req_comm_isend(mailbox, t_simdata->message_size, - t_simdata->rate, task, sizeof(void *), + t_simdata->rate, task, sizeof(void *), NULL, &t_simdata->comm); } @@ -444,7 +444,7 @@ msg_comm_t MSG_task_irecv(m_task_t * task, const char *alias) ("MSG_task_get() was asked to write in a non empty task struct."); /* Try to receive it by calling SIMIX network layer */ - return SIMIX_req_comm_irecv(rdv, task, NULL); + return SIMIX_req_comm_irecv(rdv, task, NULL, NULL, NULL); } /** \ingroup msg_gos_functions @@ -498,7 +498,6 @@ MSG_error_t MSG_comm_wait(msg_comm_t comm, double timeout) task = (m_task_t) SIMIX_req_comm_get_src_buff(comm); task->simdata->refcount--; } - SIMIX_req_comm_destroy(comm); /* FIXME: these functions are not tracable */ }