From: cristianrosa Date: Wed, 26 Jan 2011 13:54:07 +0000 (+0000) Subject: Bugfix: the dependence relation between isend/irecv and "wait timeout" is not symetrical. X-Git-Tag: v3.6_beta2~428 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1aa506eed70e86d9d3d4c551b55b9a5954a815ac Bugfix: the dependence relation between isend/irecv and "wait timeout" is not symetrical. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9501 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/mc/mc_request.c b/src/mc/mc_request.c index 3645c41e32..f9b8f47d14 100644 --- a/src/mc/mc_request.c +++ b/src/mc/mc_request.c @@ -32,7 +32,7 @@ int MC_request_depend(smx_req_t r1, smx_req_t r2) if( (r2->call == REQ_COMM_ISEND || r2->call == REQ_COMM_IRECV) && r1->call == REQ_COMM_WAIT){ - if(r1->comm_wait.comm->comm.rdv == NULL) + if(r1->comm_wait.comm->comm.rdv != NULL) return FALSE; smx_rdv_t rdv = r2->call == REQ_COMM_ISEND ? r2->comm_isend.rdv : r2->comm_irecv.rdv;