Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Find gcov executable.
[simgrid.git] / examples / msg / icomms / peer.c
index 2271765..0e2c21d 100755 (executable)
@@ -52,10 +52,10 @@ int sender(int argc, char *argv[])
     }
     else
     {
-               while(MSG_comm_test(comm) == 0){
-                       MSG_process_sleep (sleep_test_time);
-               };
-               MSG_comm_destroy(comm);
+       while(MSG_comm_test(comm) == 0){
+               MSG_process_sleep (sleep_test_time);
+       };
+       MSG_comm_destroy(comm);
     }
 
   }
@@ -73,10 +73,10 @@ int sender(int argc, char *argv[])
     }
     else
     {
-               while(MSG_comm_test(comm) == 0){
-                       MSG_process_sleep (sleep_test_time);
-               };
-               MSG_comm_destroy(comm);
+       while(MSG_comm_test(comm) == 0){
+               MSG_process_sleep (sleep_test_time);
+       };
+       MSG_comm_destroy(comm);
     }
 
   }
@@ -114,10 +114,10 @@ int receiver(int argc, char *argv[])
     }
     else
     {
-               while(MSG_comm_test(res_irecv) == 0){
-                       MSG_process_sleep (sleep_test_time);
-               };
-               MSG_comm_destroy(res_irecv);
+       while(MSG_comm_test(res_irecv) == 0){
+               MSG_process_sleep (sleep_test_time);
+       };
+       MSG_comm_destroy(res_irecv);
     }
 
        INFO1("Received \"%s\"", MSG_task_get_name(task));