Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
removed some unnecessary waiting
[simgrid.git] / src / smpi / smpi_sender.c
index 92db17b..a7ea2cd 100644 (file)
@@ -103,15 +103,5 @@ int smpi_sender(int argc, char **argv)
 
        } while (0 < running_hosts_count);
 
 
        } 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;
 }
        return 0;
 }
-