diff options
author | David Young <dyoung@hdfgroup.org> | 2020-08-20 15:15:49 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-08-20 15:15:49 (GMT) |
commit | 2ef65c82a6a8b7d1fac4b5b825b4b6de81494de7 (patch) | |
tree | 8b58805a91283e8b2ba527f6b6861978b39c95c7 /src | |
parent | 1373eec7e5e0c8d44a7781c0fe244a22660d9477 (diff) | |
parent | cd9c80925e1612cf7a4c996fef99dc8632b8b520 (diff) | |
download | hdf5-2ef65c82a6a8b7d1fac4b5b825b4b6de81494de7.zip hdf5-2ef65c82a6a8b7d1fac4b5b825b4b6de81494de7.tar.gz hdf5-2ef65c82a6a8b7d1fac4b5b825b4b6de81494de7.tar.bz2 |
Merge branch 'feature/vfd_swmr' into multi
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FD.c | 18 | ||||
-rw-r--r-- | src/H5FDprivate.h | 1 |
2 files changed, 0 insertions, 19 deletions
@@ -746,24 +746,6 @@ finish: return deduped; } -/* Return `true` if a second H5FD_t identical to `file` - * has an exclusive owner, `false` otherwise. - */ -bool -H5FD_has_conflict(H5FD_t *file) -{ - H5FD_t *item; - - TAILQ_FOREACH(item, &all_vfds, link) { - // skip "self", skip unowned - if (item == file || item->exc_owner == NULL) - continue; - if (H5FDcmp(file, item) == 0) - return true; - } - return false; -} - /*------------------------------------------------------------------------- * Function: H5FD_open diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h index 9f5309d..0d05b15 100644 --- a/src/H5FDprivate.h +++ b/src/H5FDprivate.h @@ -317,7 +317,6 @@ 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 *); H5FD_t *H5FD_deduplicate(H5FD_t *, hid_t); H5_DLL herr_t H5FD_close(H5FD_t *file); H5_DLL int H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2); |