X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b26ea89fedaa063150a60c66efc5932b4ae37b5..22356ab5dbecbe29e4f06dda4d3000f9cff68414:/src/simix/smx_network.c diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 31bec78c2c..f2b2258087 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -115,6 +115,9 @@ static XBT_INLINE void SIMIX_rdv_remove(smx_rdv_t rdv, smx_action_t comm) comm->comm.rdv = NULL; } +/** + * \brief Wrapper to SIMIX_rdv_get_request + */ smx_action_t SIMIX_comm_get_send_match(smx_rdv_t rdv, int (*match_fun)(void*, void*), void* data) { return SIMIX_rdv_get_request(rdv, SIMIX_COMM_SEND, match_fun, data); } @@ -172,7 +175,7 @@ int SIMIX_comm_has_send_match(smx_rdv_t rdv, int (*match_fun)(void*, void*), voi } } XBT_DEBUG("No matching communication action found"); - return 1; + return 0; } /** @@ -193,7 +196,7 @@ int SIMIX_comm_has_recv_match(smx_rdv_t rdv, int (*match_fun)(void*, void*), voi } } XBT_DEBUG("No matching communication action found"); - return 1; + return 0; } /******************************************************************************/