Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : example changed
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Fri, 24 Jun 2011 15:20:26 +0000 (17:20 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 25 Oct 2011 11:36:56 +0000 (13:36 +0200)
examples/msg/mc/example_automaton.c

index cfd0651..b9fb5d7 100644 (file)
@@ -14,9 +14,9 @@ extern xbt_automaton_t automaton;
 
 
 int p=1;
 
 
 int p=1;
-int r=1;
+int r=0;
 int q=1;
 int q=1;
-int e=1;
+int e=0;
 int d=1;
 
 
 int d=1;
 
 
@@ -55,7 +55,7 @@ int server(int argc, char *argv[])
     }
     MSG_task_receive(&task, "mymailbox");
     count++;
     }
     MSG_task_receive(&task, "mymailbox");
     count++;
-    r=(r+1)%2;
+    e=(e+1)%2;
     //d=(d+1)%2;
     //XBT_INFO("r (server) = %d", r);
      
     //d=(d+1)%2;
     //XBT_INFO("r (server) = %d", r);