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 : new example for liveness properties
[simgrid.git]
/
examples
/
msg
/
mc
/
bugged2.c
diff --git
a/examples/msg/mc/bugged2.c
b/examples/msg/mc/bugged2.c
index
85af8dc
..
95c0854
100644
(file)
--- a/
examples/msg/mc/bugged2.c
+++ b/
examples/msg/mc/bugged2.c
@@
-14,7
+14,8
@@
int client(int argc, char *argv[]);
int server(int argc, char *argv[])
{
- m_task_t task1, task2;
+ m_task_t task1 = NULL;
+ m_task_t task2 = NULL;
long val1, val2;
MSG_task_receive(&task1, "mymailbox");