X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..96e88da53587bca891dce3ddb7772eff544e96be:/include/msg/msg.h diff --git a/include/msg/msg.h b/include/msg/msg.h index 1d0784106b..2805298547 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -31,7 +31,7 @@ XBT_PUBLIC(void) MSG_set_function(const char *host_id, const char *function_name, xbt_dynar_t arguments); -XBT_PUBLIC(double) MSG_get_clock(void); +XBT_INLINE XBT_PUBLIC(double) MSG_get_clock(void); XBT_PUBLIC(unsigned long int) MSG_get_sent_msg(void); @@ -155,9 +155,6 @@ XBT_PUBLIC(void) MSG_task_set_priority(m_task_t task, double priority); XBT_PUBLIC(int) MSG_task_Iprobe(m_channel_t channel); XBT_PUBLIC(int) MSG_task_probe_from(m_channel_t channel); XBT_PUBLIC(int) MSG_task_probe_from_host(int channel, m_host_t host); -XBT_PUBLIC(MSG_error_t) MSG_channel_select_from(m_channel_t channel, - double max_duration, - int *PID); XBT_PUBLIC(MSG_error_t) MSG_process_sleep(double nb_sec); XBT_PUBLIC(MSG_error_t) MSG_get_errno(void); @@ -196,9 +193,6 @@ XBT_PUBLIC(int) MSG_task_listen(const char *alias); XBT_PUBLIC(int) MSG_task_listen_from_host(const char *alias, m_host_t host); -XBT_PUBLIC(MSG_error_t) - MSG_alias_select_from(const char *alias, double timeout, int *PID); - XBT_PUBLIC(MSG_error_t) MSG_task_send_with_timeout(m_task_t task, const char *alias, double timeout); @@ -238,5 +232,10 @@ MSG_error_t MSG_action_trace_run(char *path); #include "instr/instr.h" +/* Used only by the bindings */ +#include "simix/simix.h" +XBT_PUBLIC(smx_context_t) MSG_process_get_smx_ctx(m_process_t process); + + SG_END_DECL() #endif