Ticket #9401: nonblocking.patch
File nonblocking.patch, 801 bytes (added by , 9 years ago) |
---|
-
boost/mpi/nonblocking.hpp
60 60 while (true) { 61 61 // Check if we have found a completed request. If so, return it. 62 62 if (current->m_requests[0] != MPI_REQUEST_NULL && 63 current->m_requests[1] != MPI_REQUEST_NULL &&64 65 return std::make_pair(*result, current);63 current->m_requests[1] != MPI_REQUEST_NULL) 64 if (optional<status> result = current->test()) 65 return std::make_pair(*result, current); 66 66 67 67 // Check if this request (and all others before it) are "trivial" 68 68 // requests, e.g., they can be represented with a single