Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
improve documentation of MSG_task_dsend function
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Wed, 9 Nov 2011 12:28:41 +0000 (13:28 +0100)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Wed, 9 Nov 2011 12:28:50 +0000 (13:28 +0100)
src/msg/gos.c

index cb6c929..0d8fa5f 100644 (file)
@@ -437,8 +437,12 @@ XBT_INLINE msg_comm_t MSG_task_isend_with_matching(m_task_t task, const char *al
  * \brief Sends a task on a mailbox.
  *
  * This is a non blocking detached send function.
- * Think of it as a best effort send. The task should
- * be destroyed by the receiver.
+ * Think of it as a best effort send. Keep in mind that the third parameter
+ * is only called if the communication fails. If the communication does work,
+ * it is responsibility of the receiver code to free anything related to
+ * the task, as usual. More details on this can be obtained on
+ * <a href="http://lists.gforge.inria.fr/pipermail/simgrid-user/2011-November/002649.html">this thread</a>
+ * in the SimGrid-user mailing list archive.
  *
  * \param task a #m_task_t to send on another location.
  * \param alias name of the mailbox to sent the task to