diff options
author | David Young <dyoung@hdfgroup.org> | 2020-01-10 20:52:19 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-01-10 20:52:19 (GMT) |
commit | 16ca8f2c95416a09e437545333b3bb9a2f48d84c (patch) | |
tree | 8837ec349133fe3584abf99fabec83eb3a5c89b5 /src/H5SMprivate.h | |
parent | 5fb463bb2e793e515ad91aba05d387d9c2f39637 (diff) | |
download | hdf5-16ca8f2c95416a09e437545333b3bb9a2f48d84c.zip hdf5-16ca8f2c95416a09e437545333b3bb9a2f48d84c.tar.gz hdf5-16ca8f2c95416a09e437545333b3bb9a2f48d84c.tar.bz2 |
Prepare a bit to let the shadow index "float": drastically
simplify H5FD__vfd_swmr_index_deserialize(): reuse
h5_retry_init()/h5_retry_next() for retry loops.
Don't wait for the fstat(2) to read the correct size, because the
read(2) will return short if the file isn't long enough. (This change
should save at least one system call, always.)
Leave a bunch of comments about the changes that I will have to make so
that the shadow index will float.
NFCI: do not cast H5MM_malloc() return values, this is not C++.
Diffstat (limited to 'src/H5SMprivate.h')
0 files changed, 0 insertions, 0 deletions