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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
examples
/
msg
/
async-waitany
/
async-waitany.c
diff --git
a/examples/msg/async-waitany/async-waitany.c
b/examples/msg/async-waitany/async-waitany.c
index
f5d7631
..
b4152ab
100644
(file)
--- a/
examples/msg/async-waitany/async-waitany.c
+++ b/
examples/msg/async-waitany/async-waitany.c
@@
-37,7
+37,7
@@
static int sender(int argc, char *argv[])
}
/* Here we are waiting for the completion of all communications */
- while (
!xbt_dynar_is_empty(d)
) {
+ while (
xbt_dynar_is_empty(d) == 0
) {
xbt_dynar_remove_at(d, MSG_comm_waitany(d), &comm);
MSG_comm_destroy(comm);
}