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
Regenerate tesh files for chord examples.
[simgrid.git]
/
examples
/
msg
/
chord
/
chord.c
diff --git
a/examples/msg/chord/chord.c
b/examples/msg/chord/chord.c
index
5061abd
..
ec12796
100644
(file)
--- a/
examples/msg/chord/chord.c
+++ b/
examples/msg/chord/chord.c
@@
-355,10
+355,7
@@
int node(int argc, char *argv[])
// nothing to do: sleep for a while
MSG_process_sleep(5);
}
// nothing to do: sleep for a while
MSG_process_sleep(5);
}
- }
-
- if (node.comm_receive && MSG_comm_test(node.comm_receive)) {
-
+ } else {
// a transfer has occured
msg_error_t status = MSG_comm_get_status(node.comm_receive);
// a transfer has occured
msg_error_t status = MSG_comm_get_status(node.comm_receive);