diff options
author | David Young <dyoung@hdfgroup.org> | 2019-08-28 17:58:08 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-08-28 17:58:08 (GMT) |
commit | e178ab0e11a6d4ac8f3541549b03cfff1456b38a (patch) | |
tree | deda52aa62bbdab198c95996999a408aa509950f /src/H5Fprivate.h | |
parent | 1f728439ddf4ac94d49ddd14fb72982b66b814fd (diff) | |
download | hdf5-e178ab0e11a6d4ac8f3541549b03cfff1456b38a.zip hdf5-e178ab0e11a6d4ac8f3541549b03cfff1456b38a.tar.gz hdf5-e178ab0e11a6d4ac8f3541549b03cfff1456b38a.tar.bz2 |
Consolidate VFD SWMR variable declarations in a new header file,
H5FDvfd_swmr_private.h.
Perform tick processing in FUNC_ENTER_API_NOCLEAR, where it was missing.
Track the number of times the HDF5 library has been entered/exited through its
public API. Only perform tick processing on the first entry and last exit.
This stops us from performing tick processing in API calls invoked by
application callbacks. Performing tick processing in nested API calls led to
crashes.
Note well: FUNC_LEAVE_API now performs tick processing even on an error exit!
Previously, it did not. I'm not sure if the change is ok.
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r-- | src/H5Fprivate.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index cad92fa..f671635 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -881,8 +881,6 @@ H5_DLL herr_t H5F_debug(H5F_t *f, FILE * stream, int indent, int fwidth); /* VFD SWMR */ H5_DLL herr_t H5F_vfd_swmr_writer__delay_write(H5F_t *f, uint64_t page, uint64_t * delay_write_until_ptr); -H5_DLL herr_t H5F_vfd_swmr_writer_end_of_tick(void); -H5_DLL herr_t H5F_vfd_swmr_reader_end_of_tick(void); H5_DLL herr_t H5F_update_vfd_swmr_metadata_file(H5F_t *f, uint32_t index_len, struct H5FD_vfd_swmr_idx_entry_t *index); H5_DLL hbool_t H5F_use_vfd_swmr(const H5F_t *f); H5_DLL haddr_t H5F_get_vfd_swmr_md_eoa(const H5F_t *f); |