MPI_Waitany

--- Waits for any specified send or receive to complete

Input Parameters

count
list length (integer)
array_of_requests
array of requests (array of handles)

Output Parameters

index
index of handle for operation that completed (integer). In the range 0 to count-1. In Fortran, the range is 1 to count.
status
status object (Status)

Synopsis


#include "mpi.h"
int MPI_Waitany(count, array_of_requests, index, status )
int         count;
MPI_Request array_of_requests[];
int         *index;
MPI_Status  *status;

Location: waitany.c