git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9251
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
MSG
* Change the prototypes of action replay. Sorry for inconvenience,
but this is really more efficient this way.
+ * Kill the braindead MSG_task_refcount_dec() function. I guess nobody
+ ever managed to do anything useful with it.
SURF
* New model for multi-core CPUs. You can now use the core attribute to
XBT_PUBLIC(void) MSG_task_set_name(m_task_t task, const char *name);
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_refcount_dec(m_task_t task);
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,
task->name = xbt_strdup(name);
}
-
-void MSG_task_refcount_dec(m_task_t task)
-{
- task->simdata->refcount--;
-}
-
/** \ingroup m_task_management
* \brief Destroy a #m_task_t.
*