X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..9f34e4c6b167e7c684ba096920e4702a8d584e3c:/src/smpi/smpi_sender.c diff --git a/src/smpi/smpi_sender.c b/src/smpi/smpi_sender.c index 76b43e8bdc..71e9fa991d 100644 --- a/src/smpi/smpi_sender.c +++ b/src/smpi/smpi_sender.c @@ -32,14 +32,6 @@ int smpi_sender(int argc, char **argv) self = SIMIX_process_self(); shost = SIMIX_host_self(); - // make sure root is done before own initialization - SIMIX_mutex_lock(smpi_global->start_stop_mutex); - while (!smpi_global->root_ready) { - SIMIX_cond_wait(smpi_global->start_stop_cond, - smpi_global->start_stop_mutex); - } - SIMIX_mutex_unlock(smpi_global->start_stop_mutex); - index = smpi_host_index(); request_queue = smpi_global->pending_send_request_queues[index]; @@ -48,18 +40,6 @@ int smpi_sender(int argc, char **argv) smpi_global->sender_processes[index] = self; - // wait for all nodes to signal initializatin complete - SIMIX_mutex_lock(smpi_global->start_stop_mutex); - smpi_global->ready_process_count++; - if (smpi_global->ready_process_count >= 3 * smpi_global->host_count) { - SIMIX_cond_broadcast(smpi_global->start_stop_cond); - } - while (smpi_global->ready_process_count < 3 * smpi_global->host_count) { - SIMIX_cond_wait(smpi_global->start_stop_cond, - smpi_global->start_stop_mutex); - } - SIMIX_mutex_unlock(smpi_global->start_stop_mutex); - do { SIMIX_mutex_lock(request_queue_mutex);