summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-05-04 16:16:45 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-05-04 16:16:45 (GMT)
commit1bd3635781b6ee98fe27548aa103e9c77173f846 (patch)
treee04d280a5e189fc742d60f773d6f43656528cf90 /testpar
parent0c0d6bd4dfd9fab75e4b3f04284e395cfced69c6 (diff)
downloadhdf5-1bd3635781b6ee98fe27548aa103e9c77173f846.zip
hdf5-1bd3635781b6ee98fe27548aa103e9c77173f846.tar.gz
hdf5-1bd3635781b6ee98fe27548aa103e9c77173f846.tar.bz2
[svn-r29880] Add HD to sleep function calls
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_shapesame.c2
-rw-r--r--testpar/t_span_tree.c2
-rw-r--r--testpar/testphdf5.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_shapesame.c b/testpar/t_shapesame.c
index 8be1610..ec46904 100644
--- a/testpar/t_shapesame.c
+++ b/testpar/t_shapesame.c
@@ -4764,7 +4764,7 @@ void pause_proc(void)
}
printf("waiting(%ds) for file %s ...\n", time_int, greenlight);
fflush(stdout);
- sleep(time_int);
+ HDsleep(time_int);
}
MPI_Barrier(MPI_COMM_WORLD);
}
diff --git a/testpar/t_span_tree.c b/testpar/t_span_tree.c
index 6e233a9..f1487eb 100644
--- a/testpar/t_span_tree.c
+++ b/testpar/t_span_tree.c
@@ -2615,7 +2615,7 @@ lower_dim_size_comp_test(void)
int use_collective_io = 1;
hid_t dset_type = H5T_NATIVE_UINT;
#if 0
- sleep(60);
+ HDsleep(60);
#endif
HDcompile_assert(sizeof(uint32_t) == sizeof(unsigned));
for ( use_collective_io = (hbool_t)0;
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index b7a68d9..8cf29f3 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -88,7 +88,7 @@ void pause_proc(void)
}
printf("waiting(%ds) for file %s ...\n", time_int, greenlight);
fflush(stdout);
- sleep(time_int);
+ HDsleep(time_int);
}
MPI_Barrier(MPI_COMM_WORLD);
}