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 409a59d..33c7a59 100644 (file)
@@ -112,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,