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
ignore some new stuff
[simgrid.git]
/
examples
/
msg
/
mc
/
bugged1_liveness.c
diff --git
a/examples/msg/mc/bugged1_liveness.c
b/examples/msg/mc/bugged1_liveness.c
index
f8ac5c9
..
b646d82
100644
(file)
--- a/
examples/msg/mc/bugged1_liveness.c
+++ b/
examples/msg/mc/bugged1_liveness.c
@@
-52,6
+52,7
@@
int coordinator(int argc, char *argv[])
}
MSG_task_destroy(task);
task = NULL;
}
MSG_task_destroy(task);
task = NULL;
+ kind = NULL;
}
return 0;
}
return 0;
@@
-87,6
+88,7
@@
int client(int argc, char *argv[])
MSG_task_destroy(grant);
grant = NULL;
MSG_task_destroy(grant);
grant = NULL;
+ kind = NULL;
XBT_INFO("%s got the answer. Sleep a bit and release it", argv[1]);
XBT_INFO("%s got the answer. Sleep a bit and release it", argv[1]);
@@
-115,7
+117,7
@@
int main(int argc, char *argv[])
MSG_init(&argc, argv);
MSG_init(&argc, argv);
- MSG_config("model-check/property","promela
1
_bugged1_liveness");
+ MSG_config("model-check/property","promela_bugged1_liveness");
MC_automaton_new_propositional_symbol("r", &predR);
MC_automaton_new_propositional_symbol("cs", &predCS);
MC_automaton_new_propositional_symbol("r", &predR);
MC_automaton_new_propositional_symbol("cs", &predCS);