From: Christian Heinrich Date: Tue, 14 Jun 2016 13:34:32 +0000 (+0200) Subject: [SIMIX] Add a comment X-Git-Tag: v3_14~987^2~6^2~4 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e6f361bfb35eb9575cb1c3beba40af8d4e1a84e7 [SIMIX] Add a comment --- diff --git a/src/simix/smx_network.cpp b/src/simix/smx_network.cpp index 266b0cd586..7da114eba2 100644 --- a/src/simix/smx_network.cpp +++ b/src/simix/smx_network.cpp @@ -455,6 +455,8 @@ void simcall_HANDLER_comm_testany(smx_simcall_t simcall, xbt_dynar_t synchros) { unsigned int cursor; smx_synchro_t synchro; + // The default result is -1 -- this means, "nothing is ready". + // It can be changed below, but only if something matches. simcall_comm_testany__set__result(simcall, -1); if (MC_is_active() || MC_record_replay_is_active()){