From 918d8894a0c04bc0a545287095402f0e46a3aaf1 Mon Sep 17 00:00:00 2001 From: David Young Date: Mon, 31 Aug 2020 15:56:46 -0500 Subject: Add some header comments to functions. --- src/H5FDvfd_swmr.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { -- cgit v0.12