Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a dangerous MSG_task_ref() needed by lua to not free tasks twice when they get...
[simgrid.git] / include / msg / msg.h
index d6df066..33c7a59 100644 (file)
@@ -27,7 +27,6 @@ XBT_PUBLIC(void) MSG_function_register(const char *name,
 XBT_PUBLIC(void) MSG_function_register_default(xbt_main_func_t code);
 XBT_PUBLIC(xbt_main_func_t) MSG_get_registered_function(const char *name);
 XBT_PUBLIC(void) MSG_launch_application(const char *file);
-XBT_PUBLIC(void) MSG_paje_output(const char *filename);
 
 XBT_PUBLIC(double) MSG_get_clock(void);
 XBT_PUBLIC(unsigned long int) MSG_get_sent_msg(void);
@@ -113,6 +112,7 @@ XBT_PUBLIC(m_host_t) MSG_task_get_source(m_task_t task);
 XBT_PUBLIC(const char *) MSG_task_get_name(m_task_t task);
 XBT_PUBLIC(MSG_error_t) MSG_task_cancel(m_task_t task);
 XBT_PUBLIC(MSG_error_t) MSG_task_destroy(m_task_t task);
+XBT_PUBLIC(void) MSG_task_ref(m_task_t t);
 
 XBT_PUBLIC(MSG_error_t) MSG_task_get(m_task_t * task, m_channel_t channel);
 XBT_PUBLIC(MSG_error_t) MSG_task_get_with_timeout(m_task_t * task,
@@ -201,5 +201,11 @@ XBT_PUBLIC(void) MSG_action_unregister(const char *action_name);
      MSG_error_t MSG_action_trace_run(char *path);
 
 
+#ifdef MSG_USE_DEPRECATED
+#define MSG_mailbox_put_with_time_out(mailbox, task, timeout) \
+        MSG_mailbox_put_with_timeout(mailbox, task, timeout)
+
+#endif
+
 SG_END_DECL()
 #endif