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
Kill a deprecated function, deprecate another one, and inline a simcall
[simgrid.git]
/
src
/
s4u
/
s4u_host.cpp
diff --git
a/src/s4u/s4u_host.cpp
b/src/s4u/s4u_host.cpp
index
48b5176
..
8944cba
100644
(file)
--- a/
src/s4u/s4u_host.cpp
+++ b/
src/s4u/s4u_host.cpp
@@
-65,7
+65,7
@@
void Host::turn_on() {
}
void Host::turn_off() {
-
simgrid::simix::simcall<void>(SIMCALL_HOST_OFF, this
);
+
simgrid::simix::kernel(std::bind(SIMIX_host_off, this, SIMIX_process_self())
);
}
bool Host::is_on() {