Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Jul 2010 09:46:11 +0000 (09:46 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Jul 2010 09:46:11 +0000 (09:46 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8042 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/icomms/peer.c

index 2271765..0e2c21d 100755 (executable)
@@ -52,10 +52,10 @@ int sender(int argc, char *argv[])
     }
     else
     {
     }
     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
     {
     }
     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
     {
     }
     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));
     }
 
        INFO1("Received \"%s\"", MSG_task_get_name(task));