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
less indirect calls to get_instance in examples (exec to trace)
[simgrid.git]
/
examples
/
cpp
/
io-async
/
s4u-io-async.cpp
diff --git
a/examples/cpp/io-async/s4u-io-async.cpp
b/examples/cpp/io-async/s4u-io-async.cpp
index 67ee0b90e4cf4c923d425166b5672b102e0b83ce..19f5adf55494d013fd0bfb47440b03cc0ee12617 100644
(file)
--- a/
examples/cpp/io-async/s4u-io-async.cpp
+++ b/
examples/cpp/io-async/s4u-io-async.cpp
@@
-67,10
+67,10
@@
int main(int argc, char* argv[])
{
simgrid::s4u::Engine e(&argc, argv);
e.load_platform(argv[1]);
- simgrid::s4u::Actor::create("test",
simgrid::s4u::Host::
by_name("bob"), test, 2e7);
- simgrid::s4u::Actor::create("test_waitfor",
simgrid::s4u::Host::
by_name("alice"), test_waitfor, 5e7);
- simgrid::s4u::Actor::create("test_cancel",
simgrid::s4u::Host::
by_name("alice"), test_cancel, 5e7);
- simgrid::s4u::Actor::create("test_monitor",
simgrid::s4u::Host::
by_name("alice"), test_monitor, 5e7);
+ simgrid::s4u::Actor::create("test",
e.host_
by_name("bob"), test, 2e7);
+ simgrid::s4u::Actor::create("test_waitfor",
e.host_
by_name("alice"), test_waitfor, 5e7);
+ simgrid::s4u::Actor::create("test_cancel",
e.host_
by_name("alice"), test_cancel, 5e7);
+ simgrid::s4u::Actor::create("test_monitor",
e.host_
by_name("alice"), test_monitor, 5e7);
e.run();