summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-21 19:20:52 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-21 19:20:52 (GMT)
commit62ae44da95b635b13cbfe35d05ad9f56fc2d5b60 (patch)
treeaa5b6b3a21b31e10636ad082a3029a76e1666f90 /src
parent1d9ab42c5716533e9bf58c678a5c8de1ede3f0a8 (diff)
downloadhdf5-62ae44da95b635b13cbfe35d05ad9f56fc2d5b60.zip
hdf5-62ae44da95b635b13cbfe35d05ad9f56fc2d5b60.tar.gz
hdf5-62ae44da95b635b13cbfe35d05ad9f56fc2d5b60.tar.bz2
Straggler from last: provide stub implementations
of vfd_swmr_writer_may_increase_tick_to() and vfd_swmr_reader_did_increase_tick_to().
Diffstat (limited to 'src')
-rw-r--r--src/H5FDvfd_swmr_instr.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/H5FDvfd_swmr_instr.c b/src/H5FDvfd_swmr_instr.c
new file mode 100644
index 0000000..2970276
--- /dev/null
+++ b/src/H5FDvfd_swmr_instr.c
@@ -0,0 +1,27 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the COPYING file, which can be found at the root of the source code *
+ * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+#include "H5private.h" /* H5_ATTR_UNUSED */
+#include "H5FDvfd_swmr.h"
+
+bool
+vfd_swmr_writer_may_increase_tick_to(uint64_t H5_ATTR_UNUSED tick_num,
+ bool H5_ATTR_UNUSED wait_for_reader)
+{
+ return true;
+}
+
+void
+vfd_swmr_reader_did_increase_tick_to(uint64_t H5_ATTR_UNUSED tick_num)
+{
+ return;
+}