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
document last changes
[simgrid.git]
/
examples
/
msg
/
chord
/
chord_stateful.c
diff --git
a/examples/msg/chord/chord_stateful.c
b/examples/msg/chord/chord_stateful.c
index
481da7a
..
57fd00a
100644
(file)
--- a/
examples/msg/chord/chord_stateful.c
+++ b/
examples/msg/chord/chord_stateful.c
@@
-892,14
+892,13
@@
int main(int argc, char *argv[])
{
xbt_os_timer_t timer = xbt_os_timer_new();
+ MSG_global_init(&argc, argv);
if (argc < 3) {
printf("Usage: %s [-nb_bits=n] [-timeout=t] platform_file deployment_file\n", argv[0]);
printf("example: %s ../msg_platform.xml chord.xml\n", argv[0]);
exit(1);
}
- MSG_global_init(&argc, argv);
-
char **options = &argv[1];
while (!strncmp(options[0], "-", 1)) {
@@
-927,7
+926,6
@@
int main(int argc, char *argv[])
chord_initialize();
- MSG_set_channel_number(0);
MSG_create_environment(platform_file);
MSG_function_register("node", node);