X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/03f69b9100f6c7bbadc7be1d5e5e65a5c96a6c62..054ee8581cc1b4c22fcf66c5b3f0c6e7267a3e65:/src/msg/msg_host.c diff --git a/src/msg/msg_host.c b/src/msg/msg_host.c index 4cced2cf02..cd959e8d9d 100644 --- a/src/msg/msg_host.c +++ b/src/msg/msg_host.c @@ -116,6 +116,23 @@ msg_host_t MSG_host_self(void) return MSG_process_get_host(NULL); } + +/* + * \brief Start the host if it is off + */ +void MSG_host_on(msg_host_t host) +{ + simcall_host_on(host); +} + +/* + * \brief Stop the host if it is on + */ +void MSG_host_off(msg_host_t host) +{ + simcall_host_off(host); +} + /* * \brief Frees private data of a host (internal call only) */