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
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
msg
/
msg_host.c
diff --git
a/src/msg/msg_host.c
b/src/msg/msg_host.c
index
bcd8b8f
..
1723408
100644
(file)
--- a/
src/msg/msg_host.c
+++ b/
src/msg/msg_host.c
@@
-54,7
+54,7
@@
m_host_t __MSG_host_create(smx_host_t workstation, void *data)
memset(alias, 0, MAX_ALIAS_NAME + 1);
}
memset(alias, 0, MAX_ALIAS_NAME + 1);
}
-
SIMIX_req
_host_set_data(workstation, host);
+
simcall
_host_set_data(workstation, host);
xbt_lib_set(host_lib,name,MSG_HOST_LEVEL,host);
return host;
xbt_lib_set(host_lib,name,MSG_HOST_LEVEL,host);
return host;
@@
-117,7
+117,7
@@
const char *MSG_host_get_name(m_host_t host)
*/
m_host_t MSG_host_self(void)
{
*/
m_host_t MSG_host_self(void)
{
- return MSG_process_get_host(
MSG_process_self()
);
+ return MSG_process_get_host(
NULL
);
}
/** \ingroup m_host_management
}
/** \ingroup m_host_management
@@
-195,7
+195,7
@@
double MSG_get_host_speed(m_host_t h)
{
xbt_assert((h != NULL), "Invalid parameters");
{
xbt_assert((h != NULL), "Invalid parameters");
- return (
SIMIX_req
_host_get_speed(h->simdata->smx_host));
+ return (
simcall
_host_get_speed(h->simdata->smx_host));
}
/** \ingroup m_host_management
}
/** \ingroup m_host_management
@@
-220,7
+220,7
@@
xbt_dict_t MSG_host_get_properties(m_host_t host)
{
xbt_assert((host != NULL), "Invalid parameters (host is NULL)");
{
xbt_assert((host != NULL), "Invalid parameters (host is NULL)");
- return (
SIMIX_req
_host_get_properties(host->simdata->smx_host));
+ return (
simcall
_host_get_properties(host->simdata->smx_host));
}
}
@@
-232,5
+232,5
@@
xbt_dict_t MSG_host_get_properties(m_host_t host)
int MSG_host_is_avail(m_host_t h)
{
xbt_assert((h != NULL), "Invalid parameters (host is NULL)");
int MSG_host_is_avail(m_host_t h)
{
xbt_assert((h != NULL), "Invalid parameters (host is NULL)");
- return (
SIMIX_req
_host_get_state(h->simdata->smx_host));
+ return (
simcall
_host_get_state(h->simdata->smx_host));
}
}