From 6193e20455e91d48d960ccf068d8ca305508937f Mon Sep 17 00:00:00 2001 From: Lucas Schnorr Date: Wed, 9 Nov 2011 13:28:41 +0100 Subject: [PATCH 1/1] improve documentation of MSG_task_dsend function --- src/msg/gos.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/msg/gos.c b/src/msg/gos.c index cb6c929ae1..0d8fa5ff20 100644 --- a/src/msg/gos.c +++ b/src/msg/gos.c @@ -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 + * this thread + * 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 -- 2.20.1