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
snake_case and cleanup some more methods of s4u::Engine
[simgrid.git]
/
examples
/
s4u
/
app-token-ring
/
s4u-app-token-ring.cpp
diff --git
a/examples/s4u/app-token-ring/s4u-app-token-ring.cpp
b/examples/s4u/app-token-ring/s4u-app-token-ring.cpp
index
7dfba65
..
8e76889
100644
(file)
--- a/
examples/s4u/app-token-ring/s4u-app-token-ring.cpp
+++ b/
examples/s4u/app-token-ring/s4u-app-token-ring.cpp
@@
-29,7
+29,7
@@
public:
ia.what());
}
my_mailbox = simgrid::s4u::Mailbox::byName(std::to_string(rank));
ia.what());
}
my_mailbox = simgrid::s4u::Mailbox::byName(std::to_string(rank));
- if (rank + 1 == simgrid::s4u::Engine::get
I
nstance()->get_host_count())
+ if (rank + 1 == simgrid::s4u::Engine::get
_i
nstance()->get_host_count())
/* The last process, which sends the token back to rank 0 */
neighbor_mailbox = simgrid::s4u::Mailbox::byName("0");
else
/* The last process, which sends the token back to rank 0 */
neighbor_mailbox = simgrid::s4u::Mailbox::byName("0");
else