...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::mpi::test_some — Test whether some non-blocking requests have completed.
// In header: <boost/mpi/nonblocking.hpp> template<typename BidirectionalIterator, typename OutputIterator> std::pair< OutputIterator, BidirectionalIterator > test_some(BidirectionalIterator first, BidirectionalIterator last, OutputIterator out); template<typename BidirectionalIterator> BidirectionalIterator test_some(BidirectionalIterator first, BidirectionalIterator last);
This routine takes in a set of requests stored in the iterator range [first,last) and tests to see if any of the requests has completed. It completes all of the requests it can, partitioning the input sequence into pending requests followed by completed requests. If an output iterator is provided,
status
objects will be emitted for each of the completed requests. This routine is similar to wait_some
, but does not wait until any requests have completed. This routine provides functionality equivalent to MPI_Testsome
.
Parameters: |
|
||||||
Returns: |
If the |