summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-08-31 20:56:46 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-08-31 20:56:46 (GMT)
commit918d8894a0c04bc0a545287095402f0e46a3aaf1 (patch)
treef9167cfa28209db8e85e212695c4b5d3515bd9f2
parent4f833668b09bcf337812c8bc23cfc0b691e14188 (diff)
downloadhdf5-918d8894a0c04bc0a545287095402f0e46a3aaf1.zip
hdf5-918d8894a0c04bc0a545287095402f0e46a3aaf1.tar.gz
hdf5-918d8894a0c04bc0a545287095402f0e46a3aaf1.tar.bz2
Add some header comments to functions.
-rw-r--r--src/H5FDvfd_swmr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5FDvfd_swmr.c b/src/H5FDvfd_swmr.c
index 9dac9ac..04727be 100644
--- a/src/H5FDvfd_swmr.c
+++ b/src/H5FDvfd_swmr.c
@@ -261,6 +261,10 @@ done:
FUNC_LEAVE_API(ret_value)
} /* end H5Pset_fapl_vfd_swmr() */
+/* Perform the reader-only aspects of opening in VFD SWMR mode:
+ * initialize histogram of ticks spent in API calls, wait for the
+ * shadow file to appear, load the header and index.
+ */
static herr_t
H5FD__swmr_reader_open(H5FD_vfd_swmr_t *file)
{
@@ -417,6 +421,10 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_vfd_swmr_open() */
+/* Perform the reader-only aspects of closing in VFD SWMR mode: optionally
+ * log and always release the histogram of ticks spent in API calls,
+ * close the shadow file, release the shadow index.
+ */
static void
swmr_reader_close(H5FD_vfd_swmr_t *file)
{