-/* $Id$ */
-
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
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.
*
}
-/** \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);
-
-}
-