Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
removed some unnecessary waiting
[simgrid.git] / src / smpi / smpi_receiver.c
index f842dd6..eb4723f 100644 (file)
@@ -99,14 +99,5 @@ stopsearch:
 
        } while (0 < running_hosts_count);
 
-       SIMIX_mutex_lock(smpi_global->start_stop_mutex);
-       smpi_global->ready_process_count--;
-       if (smpi_global->ready_process_count == 0) {
-               SIMIX_cond_broadcast(smpi_global->start_stop_cond);
-       } else if (smpi_global->ready_process_count < 0) {
-               // FIXME: can't happen, abort!
-       }
-       SIMIX_mutex_unlock(smpi_global->start_stop_mutex);
-
        return 0;
 }