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
[simix] Make host->{on,off}() do the simcall directly
[simgrid.git]
/
src
/
msg
/
msg_host.cpp
diff --git
a/src/msg/msg_host.cpp
b/src/msg/msg_host.cpp
index
db76c66
..
06716bb
100644
(file)
--- a/
src/msg/msg_host.cpp
+++ b/
src/msg/msg_host.cpp
@@
-128,7
+128,7
@@
msg_host_t MSG_host_self(void)
*/
void MSG_host_on(msg_host_t host)
{
-
simcall_host_on(host
);
+
host->on(
);
}
/** \ingroup m_host_management
@@
-139,7
+139,7
@@
void MSG_host_on(msg_host_t host)
*/
void MSG_host_off(msg_host_t host)
{
-
simcall_host_off(host
);
+
host->off(
);
}
/*