X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a28a695108f7e9ae7dafc83a2d39d17778f5fc98..b8ba0bc2f48c6b9b96dfedd8fd383b941d5fdd0b:/src/msg/msg_host.c diff --git a/src/msg/msg_host.c b/src/msg/msg_host.c index bcd8b8f79e..1723408379 100644 --- 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); } - 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; @@ -117,7 +117,7 @@ const char *MSG_host_get_name(m_host_t host) */ 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 @@ -195,7 +195,7 @@ double MSG_get_host_speed(m_host_t h) { 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 @@ -220,7 +220,7 @@ xbt_dict_t MSG_host_get_properties(m_host_t host) { 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)"); - return (SIMIX_req_host_get_state(h->simdata->smx_host)); + return (simcall_host_get_state(h->simdata->smx_host)); }