Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55439 - trunk/libs/mpi/doc
From: troyer_at_[hidden]
Date: 2009-08-06 16:45:31

Author: troyer
Date: 2009-08-06 16:45:30 EDT (Thu, 06 Aug 2009)
New Revision: 55439

Added a warning about not discarding requests to the Boost.MPI documentation
Text files modified:
   trunk/libs/mpi/doc/mpi.qbk | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/libs/mpi/doc/mpi.qbk
--- trunk/libs/mpi/doc/mpi.qbk (original)
+++ trunk/libs/mpi/doc/mpi.qbk 2009-08-06 16:45:30 EDT (Thu, 06 Aug 2009)
@@ -465,6 +465,11 @@
 can be completed at the same time with the [funcref
 boost::mpi::wait_all wait_all] operation.
+Important note: Unlike with the MPI C API one always has to wait for the
+completion of a request and cannot just discard the request, since the
+request object might contain temporary buffers that have to be kept
+until the send is completed.
 If you run this program multiple times, you may see some strange
 results: namely, some runs will produce:

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at