Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
retrive -> retrieve
[simgrid.git] / include / msg / msg.h
index 8455264..cd8b1a1 100644 (file)
@@ -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);