Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SIMIX] Add a comment
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 14 Jun 2016 13:34:32 +0000 (15:34 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 14 Jun 2016 13:34:40 +0000 (15:34 +0200)
src/simix/smx_network.cpp

index 266b0cd..7da114e 100644 (file)
@@ -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()){