Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetic changes
[simgrid.git] / src / simix / smx_user.c
index f0d037e..c426229 100644 (file)
@@ -571,13 +571,14 @@ smx_rdv_t SIMIX_req_rdv_get_by_name(const char *name)
   /* FIXME: this is a horrible lost of performance, so we hack it out by
    * skipping the request (for now). It won't work on distributed but
    * probably we will change MSG for that. */
   /* FIXME: this is a horrible lost of performance, so we hack it out by
    * skipping the request (for now). It won't work on distributed but
    * probably we will change MSG for that. */
-  return SIMIX_rdv_get_by_name(name);
 /*
   smx_req_t req = SIMIX_req_mine();
   req->call = REQ_RDV_GEY_BY_NAME;
   req->rdv_get_by_name.name = name;
   SIMIX_request_push();
   return req->rdv_get_by_name.result;*/
 /*
   smx_req_t req = SIMIX_req_mine();
   req->call = REQ_RDV_GEY_BY_NAME;
   req->rdv_get_by_name.name = name;
   SIMIX_request_push();
   return req->rdv_get_by_name.result;*/
+
+  return SIMIX_rdv_get_by_name(name);
 }
 
 /**
 }
 
 /**