summaryrefslogtreecommitdiffstats
path: root/src/H5HLprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-04-19 18:43:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-04-19 18:43:10 (GMT)
commitaa96180fa906767b9fcdb096085148f53b13e5c4 (patch)
tree290289d176d3550f850c225ff75515f22d9b61b7 /src/H5HLprivate.h
parent1d3bcea76904c11b2646d3fe4537503ee5fe1d10 (diff)
downloadhdf5-aa96180fa906767b9fcdb096085148f53b13e5c4.zip
hdf5-aa96180fa906767b9fcdb096085148f53b13e5c4.tar.gz
hdf5-aa96180fa906767b9fcdb096085148f53b13e5c4.tar.bz2
[svn-r13690] Description:
Fully enable readers/writer locking in metadata cache and correct errors in cache clients which were modifying a cache entry while only holding a read lock on it. Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty)
Diffstat (limited to 'src/H5HLprivate.h')
-rw-r--r--src/H5HLprivate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5HLprivate.h b/src/H5HLprivate.h
index 22786f3..eab55e3 100644
--- a/src/H5HLprivate.h
+++ b/src/H5HLprivate.h
@@ -33,6 +33,7 @@
/* Private headers needed by this file. */
#include "H5private.h" /* Generic Functions */
+#include "H5ACprivate.h" /* Metadata cache */
#include "H5Fprivate.h" /* File access */
/*
@@ -63,7 +64,7 @@ typedef struct H5HL_t H5HL_t;
* Library prototypes...
*/
H5_DLL herr_t H5HL_create(H5F_t *f, hid_t dxpl_id, size_t size_hint, haddr_t *addr/*out*/);
-H5_DLL H5HL_t *H5HL_protect(H5F_t *f, hid_t dxpl_id, haddr_t addr);
+H5_DLL H5HL_t *H5HL_protect(H5F_t *f, hid_t dxpl_id, haddr_t addr, H5AC_protect_t rw);
H5_DLL void *H5HL_offset_into(H5F_t *f, const H5HL_t *heap, size_t offset);
H5_DLL herr_t H5HL_remove(H5F_t *f, hid_t dxpl_id, H5HL_t *heap, size_t offset,
size_t size, unsigned *heap_flags);