Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revalidate some forgotten 32bit outputs after gras listener improvement
[simgrid.git] / examples / gras / mutual_exclusion / simple_token / simple_token.c
index 9f0336192a68e61cce0b080bab4d7c5855735957..f0d8fcb491946f920f49f9c9898a52eb4f00208f 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);
   }