From: thiery Date: Tue, 7 Dec 2010 12:23:39 +0000 (+0000) Subject: Don't auto-destroy the MSG_comm_t in MSG_comm_wait(), it's the X-Git-Tag: v3.6_beta2~867 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f21c4fc3d7f78879f3ecac4dff751e4888dcac06?ds=sidebyside Don't auto-destroy the MSG_comm_t in MSG_comm_wait(), it's the responsability of the user code git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9056 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/msg/gos.c b/src/msg/gos.c index 859bb082a9..899b135a5e 100644 --- a/src/msg/gos.c +++ b/src/msg/gos.c @@ -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 */ }