[svn-r29880] Add HD to sleep function calls

This commit is contained in:
Allen Byrne 2016-05-04 11:16:45 -05:00
parent 0c0d6bd4df
commit 1bd3635781
4 changed files with 5 additions and 5 deletions

View File

@ -161,7 +161,7 @@ void *tts_cancel_thread(void H5_ATTR_UNUSED *arg)
ret=H5Diterate(&buffer, H5T_NATIVE_INT, dataspace, tts_cancel_callback, &dataset);
assert(ret>=0);
sleep(3);
HDsleep(3);
datavalue = 100;
ret=H5Dwrite(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, &datavalue);
@ -190,7 +190,7 @@ herr_t tts_cancel_callback(void *elem, hid_t H5_ATTR_UNUSED type_id, unsigned H5
int ret;
tts_cancel_barrier();
sleep(3);
HDsleep(3);
if (value != 1) {
TestErrPrintf("Error! Element value should be 1 and not %d\n", value);

View File

@ -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);
}

View File

@ -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;

View File

@ -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);
}