MPI_Waitall

int MPI_Waitall(int, MPI_Request *, MPI_Status *);
Waits for a collection of non-blocking operations to complete.