Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
improve a comment
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 22 Jun 2016 07:58:43 +0000 (09:58 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 22 Jun 2016 07:58:43 +0000 (09:58 +0200)
src/simix/smx_process.cpp

index d4537ba..ae48724 100644 (file)
@@ -754,7 +754,7 @@ xbt_dict_t SIMIX_process_get_properties(smx_process_t process)
 void simcall_HANDLER_process_join(smx_simcall_t simcall, smx_process_t process, double timeout)
 {
   if (process->finished) {
 void simcall_HANDLER_process_join(smx_simcall_t simcall, smx_process_t process, double timeout)
 {
   if (process->finished) {
-    // The process is already finished, just wake up the process right now:
+    // The joined process is already finished, just wake up the issuer process right away
     simcall_process_sleep__set__result(simcall, SIMIX_DONE);
     SIMIX_simcall_answer(simcall);
     return;
     simcall_process_sleep__set__result(simcall, SIMIX_DONE);
     SIMIX_simcall_answer(simcall);
     return;