summaryrefslogtreecommitdiffstats
path: root/src/H5Dpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-03-02 22:30:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-03-02 22:30:16 (GMT)
commit19105560d05e18a2793ef330bac1234aed2e8914 (patch)
tree10d0e34de12191c45aa89cd0c7b68b0db2c5e3c4 /src/H5Dpkg.h
parentb359f8d3b37b03748346fd87b9c20cbd95b8db8e (diff)
downloadhdf5-19105560d05e18a2793ef330bac1234aed2e8914.zip
hdf5-19105560d05e18a2793ef330bac1234aed2e8914.tar.gz
hdf5-19105560d05e18a2793ef330bac1234aed2e8914.tar.bz2
[svn-r16536] Description:
Bring v16532 back from trunk to v1.8 branch: Pass the chunk "user data" to H5D_chunk_unlock(), so that chunks with an address already aren't reallocated. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committest not needed here, performed on trunk)
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r--src/H5Dpkg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h
index 7c94906..791e223 100644
--- a/src/H5Dpkg.h
+++ b/src/H5Dpkg.h
@@ -583,7 +583,8 @@ H5_DLL herr_t H5D_chunk_get_info(const H5D_t *dset, hid_t dxpl_id,
H5_DLL void *H5D_chunk_lock(const H5D_io_info_t *io_info,
H5D_chunk_ud_t *udata, hbool_t relax, unsigned *idx_hint/*in,out*/);
H5_DLL herr_t H5D_chunk_unlock(const H5D_io_info_t *io_info,
- hbool_t dirty, unsigned idx_hint, void *chunk, uint32_t naccessed);
+ const H5D_chunk_ud_t *udata, hbool_t dirty, unsigned idx_hint, void *chunk,
+ uint32_t naccessed);
H5_DLL herr_t H5D_chunk_flush(H5D_t *dset, hid_t dxpl_id, unsigned flags);
H5_DLL herr_t H5D_chunk_allocated(H5D_t *dset, hid_t dxpl_id, hsize_t *nbytes);
H5_DLL herr_t H5D_chunk_allocate(H5D_t *dset, hid_t dxpl_id, hbool_t full_overwrite);