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.
*
SIMIX_communication_cancel(task->simdata->comm);
return MSG_OK;
}
-
- return MSG_FATAL;
+ THROW_IMPOSSIBLE;
}
/** \ingroup m_task_management