Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new tracing mask TRACE_VOLUME to trace the msg tasks communication size and group...
[simgrid.git] / src / msg / task.c
index 05a1a3e..625b54e 100644 (file)
@@ -79,11 +79,6 @@ m_task_t MSG_task_create(const char *name, double compute_duration,
   return task;
 }
 
-/** prevent the task from being destroyed too quickly (but also prevent it from being sent). Mainly useful in bindings */
-void MSG_task_ref(m_task_t t) {
-  t->simdata->refcount++;
-}
-
 /** \ingroup m_task_management
  * \brief Return the user data of a #m_task_t.
  *
@@ -279,16 +274,3 @@ void MSG_task_set_priority(m_task_t task, double priority)
 }
 
 
-/** \ingroup m_task_management
- * \brief Sets the user data of a #m_task_t.
- *
- * This function allows to test if a task contains a not_null data
- * return 1 (if true)
- */
-int MSG_task_has_data(m_task_t task)
-{
-
- return (task->data != NULL);
-
-}
-