X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/494616a1d79ab04ce6f0309a5cbb29ee5876c379..a3427ca7c9f8f2563bb982044e1082cc8f3cdd1e:/include/msg/msg.h diff --git a/include/msg/msg.h b/include/msg/msg.h index 84552645ad..cd8b1a1d40 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -9,7 +9,6 @@ #define MSG_H #include "xbt/misc.h" -#include "xbt/sysdep.h" #include "msg/datatypes.h" SG_BEGIN_DECL() @@ -38,6 +37,7 @@ m_host_t MSG_host_self(void); int MSG_get_host_msgload(m_host_t host); /* int MSG_get_msgload(void); This function lacks specification; discard it */ double MSG_get_host_speed(m_host_t h); +int MSG_host_is_avail (m_host_t h); void MSG_create_environment(const char *file); @@ -92,6 +92,8 @@ MSG_error_t MSG_task_destroy(m_task_t task); MSG_error_t MSG_task_get(m_task_t * task, m_channel_t channel); MSG_error_t MSG_task_get_with_time_out(m_task_t * task, m_channel_t channel, double max_duration); +MSG_error_t MSG_task_get_from_host(m_task_t * task, int channel, + m_host_t host); MSG_error_t MSG_task_put(m_task_t task, m_host_t dest, m_channel_t channel); MSG_error_t MSG_task_put_bounded(m_task_t task, @@ -103,6 +105,7 @@ void MSG_task_set_priority(m_task_t task, double priority); int MSG_task_Iprobe(m_channel_t channel); int MSG_task_probe_from(m_channel_t channel); +int MSG_task_probe_from_host(int channel, m_host_t host); MSG_error_t MSG_channel_select_from(m_channel_t channel, double max_duration, int *PID); MSG_error_t MSG_process_sleep(double nb_sec);