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
fix out of dir builds
[simgrid.git]
/
examples
/
s4u
/
energy-link
/
s4u-energy-link.cpp
diff --git
a/examples/s4u/energy-link/s4u-energy-link.cpp
b/examples/s4u/energy-link/s4u-energy-link.cpp
index
94de986
..
e64eccf
100644
(file)
--- a/
examples/s4u/energy-link/s4u-energy-link.cpp
+++ b/
examples/s4u/energy-link/s4u-energy-link.cpp
@@
-24,6
+24,7
@@
static void sender(std::vector<std::string> args)
simgrid::s4u::MailboxPtr mailbox = simgrid::s4u::Mailbox::byName(std::string("message"));
+ /* Sleep a while before starting the example */
simgrid::s4u::this_actor::sleep_for(10);
/* - Send the task to the @ref worker */