X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17d305e0f3a8c6f813bda1aacad5891d67fd1e3c..8a18400cb9a39be8bcd4f66a9053c6e668c6c2fa:/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c diff --git a/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c b/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c index 77d7c16ed1..675b0d0265 100644 --- a/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c +++ b/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c @@ -100,9 +100,9 @@ int main(int argc, char *argv[]) NULL, 0, MPI_UNSIGNED_CHAR, source, 10, comm, MPI_STATUS_IGNORE); /* Wait 2 seconds */ - tstart = MPI_Wtime(); - while (MPI_Wtime() - tstart < 2.0); - +/* tstart = MPI_Wtime();*/ +/* while (MPI_Wtime() - tstart < 2.0);*/ + sleep(2); /* Now receive the messages */ MPI_Recv(msg1, msgsize, MPI_UNSIGNED_CHAR, source, 0, comm, &status1); MPI_Recv(msg2, msgsize, MPI_UNSIGNED_CHAR, source, 0, comm, &status2);