...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::wait_any — Wait until any non-blocking request has completed.
// In header: <boost/mpi/nonblocking.hpp> template<typename ForwardIterator> std::pair< status, ForwardIterator > wait_any(ForwardIterator first, ForwardIterator last);
This routine takes in a set of requests stored in the iterator range [first,last) and waits until any of these requests has been completed. It provides functionality equivalent to
MPI_Waitany
.
Parameters: |
|
||||
Returns: |
A pair containing the status object that corresponds to the completed operation and the iterator referencing the completed request. |