mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-25 17:00:45 +08:00
[svn-r29880] Add HD to sleep function calls
This commit is contained in:
parent
0c0d6bd4df
commit
1bd3635781
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user