summaryrefslogtreecommitdiffstats
path: root/src/H5FDprivate.h
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-07-10 20:09:29 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-07-10 20:09:29 (GMT)
commit2e66b5cf86c1a184e01eea6b67b52ac82648573a (patch)
tree6cf56f85fdc4f2b433a127d1c8d4d66dc59a8e65 /src/H5FDprivate.h
parent5493f4faacd7984bf8e442786a33e49598118788 (diff)
downloadhdf5-2e66b5cf86c1a184e01eea6b67b52ac82648573a.zip
hdf5-2e66b5cf86c1a184e01eea6b67b52ac82648573a.tar.gz
hdf5-2e66b5cf86c1a184e01eea6b67b52ac82648573a.tar.bz2
Add all extant virtual files to a list. Add an "exclusive owner" (`exc_owner`)
member to all virtual files. Add a routine, H5FD_has_conflict(), that returns true if a new virtual file is identical to an existing virtual file that has an exclusive owner. Establish an exclusive owner for a VFD SWMR virtual file's lower virtual file. Rename bsdqueue.h to H5queue.h and install it, since it's used by H5FDpublic.h. This is part of a changeset that helps us avoid creating multiple H5F_shared_t for one file when virtual datasets are used with VFD SWMR. The old code for deduplicating VFD SWMR H5F_shared_t instances did not work correctly with VFD SWMR, so we'd end up with multiple H5F_shared_t all active on the same file.
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r--src/H5FDprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h
index 9126371..4eeea36 100644
--- a/src/H5FDprivate.h
+++ b/src/H5FDprivate.h
@@ -317,6 +317,7 @@ H5_DLL herr_t H5FD_free_driver_info(hid_t driver_id, const void *driver_info);
H5_DLL hid_t H5FD_register(const void *cls, size_t size, hbool_t app_ref);
H5_DLL H5FD_t *H5FD_open(const char *name, unsigned flags, hid_t fapl_id,
haddr_t maxaddr);
+bool H5FD_has_conflict(H5FD_t *);
H5_DLL herr_t H5FD_close(H5FD_t *file);
H5_DLL int H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2);
H5_DLL herr_t H5FD_driver_query(const H5FD_class_t *driver, unsigned long *flags/*out*/);