Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill the braindead MSG_task_refcount_dec() function.
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 15 Dec 2010 15:11:01 +0000 (15:11 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 15 Dec 2010 15:11:01 +0000 (15:11 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9251 48e7efb5-ca39-0410-a469-dd3cf9ba447f

ChangeLog
include/msg/msg.h
src/msg/task.c

index b28bb47..726c183 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@ SimGrid (3.6) unstable; urgency=low
  MSG
  * Change the prototypes of action replay. Sorry for inconvenience,
    but this is really more efficient this way.
  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
 
  SURF
  * New model for multi-core CPUs. You can now use the core attribute to
index 1ce1cf5..a27b6e0 100644 (file)
@@ -123,7 +123,6 @@ XBT_PUBLIC(const char *) MSG_task_get_name(m_task_t task);
 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_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,
 
 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,
index d5d0944..88c743d 100644 (file)
@@ -154,12 +154,6 @@ void MSG_task_set_name(m_task_t task, const char *name)
   task->name = xbt_strdup(name);
 }
 
   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.
  *
 /** \ingroup m_task_management
  * \brief Destroy a #m_task_t.
  *