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 : stateless model checking for liveness properties
[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
e3849e6
..
a45c3f8
100644
(file)
--- a/
examples/msg/mc/example_automaton.c
+++ b/
examples/msg/mc/example_automaton.c
@@
-14,7
+14,7
@@
extern xbt_automaton_t automaton;
int p=1;
int p=1;
-int r=
1
;
+int r=
0
;
int q=1;
int e=1;
int d=1;
int q=1;
int e=1;
int d=1;
@@
-59,7
+59,7
@@
int server(int argc, char *argv[])
//XBT_INFO("r (server) = %d", r);
}
//XBT_INFO("r (server) = %d", r);
}
- MC_assert_pair(atoi(MSG_task_get_name(task)) == 3);
+ MC_assert_pair
_stateless
(atoi(MSG_task_get_name(task)) == 3);
XBT_INFO("OK");
return 0;
XBT_INFO("OK");
return 0;
@@
-108,7
+108,7
@@
int main(int argc, char **argv){
//XBT_INFO("r=%d", r);
//XBT_INFO("r=%d", r);
- MSG_main_
with_automaton
(automaton);
+ MSG_main_
liveness_stateless
(automaton);
MSG_clean();
MSG_clean();