A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
model-checker : example changed
[simgrid.git]
/
examples
/
msg
/
mc
/
example_automaton.c
diff --git
a/examples/msg/mc/example_automaton.c
b/examples/msg/mc/example_automaton.c
index
cfd0651
..
b9fb5d7
100644
(file)
--- a/
examples/msg/mc/example_automaton.c
+++ b/
examples/msg/mc/example_automaton.c
@@
-14,9
+14,9
@@
extern xbt_automaton_t automaton;
int p=1;
-int r=
1
;
+int r=
0
;
int q=1;
-int e=
1
;
+int e=
0
;
int d=1;
@@
-55,7
+55,7
@@
int server(int argc, char *argv[])
}
MSG_task_receive(&task, "mymailbox");
count++;
-
r=(r
+1)%2;
+
e=(e
+1)%2;
//d=(d+1)%2;
//XBT_INFO("r (server) = %d", r);