Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill the dangerous MSG_task_ref() now that the bindings don't use it anymore
[simgrid.git] / src / msg / task.c
index e3bf5c1..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.
  *