Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid timeouts on very large platforms by blocking for ever
[simgrid.git] / examples / gras / mutual_exclusion / simple_token / simple_token.c
index 9f03361..f0d8fcb 100644 (file)
@@ -175,7 +175,7 @@ int node (int argc,char *argv[]) {
   
   /* 8. Wait up to 10 seconds for an incomming message to handle */
   while (globals->remaining_loop > (globals->create ? -1 : 0)) {
-    gras_msg_handle(10.0);
+    gras_msg_handle(-1);
   
     DEBUG1("looping (remaining_loop=%d)", globals->remaining_loop);
   }