From e6f361bfb35eb9575cb1c3beba40af8d4e1a84e7 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 14 Jun 2016 15:34:32 +0200 Subject: [PATCH] [SIMIX] Add a comment --- src/simix/smx_network.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()){ -- 2.20.1