summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2020-06-24 15:58:22 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-06-26 19:18:19 (GMT)
commit9f48f4e266fdc57d02029d20af0e1ab1950b9103 (patch)
tree94d00b5e29959088f365250df03f4b2b2e15bd32 /src/H5Fpkg.h
parentd98d6746e0efb4dbda897073b6c9a1a6ec8135c9 (diff)
downloadhdf5-9f48f4e266fdc57d02029d20af0e1ab1950b9103.zip
hdf5-9f48f4e266fdc57d02029d20af0e1ab1950b9103.tar.gz
hdf5-9f48f4e266fdc57d02029d20af0e1ab1950b9103.tar.bz2
(1) Add public routines H5Fvfd_swmr_end_tick, H5Fvfd_swmr_disable_end_of_tick, H5Fvfd_swmr_enable_end_of_tick().
(2) Tests for the above APIs.
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 081dcce..45ff0ee 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -412,6 +412,7 @@ struct H5F_shared_t {
*/
uint64_t tick_num; /* Number of the current tick */
struct timespec end_of_tick; /* End time of the current tick */
+
lower_defree_queue_t lower_defrees; /* For use by VFD SWMR writers. */
/* VFD SWMR metadata file index */
H5FD_vfd_swmr_idx_entry_t * mdf_idx; /* pointer to an array of instance
@@ -526,6 +527,9 @@ H5_DLL herr_t H5F__start_swmr_write(H5F_t *f);
H5_DLL herr_t H5F__close(H5F_t *f);
H5_DLL herr_t H5F__set_libver_bounds(H5F_t *f, H5F_libver_t low, H5F_libver_t high);
H5_DLL herr_t H5F__get_cont_info(const H5F_t *f, H5VL_file_cont_info_t *info);
+H5_DLL herr_t H5F__vfd_swmr_end_tick(H5F_t *f);
+H5_DLL herr_t H5F__vfd_swmr_disable_end_of_tick(H5F_t *f);
+H5_DLL herr_t H5F__vfd_swmr_enable_end_of_tick(H5F_t *f);
/* File mount related routines */
H5_DLL herr_t H5F__mount(H5G_loc_t *loc, const char *name, H5F_t *child, hid_t plist_id);