summaryrefslogtreecommitdiffstats
path: root/src/H5HLpkg.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2012-07-05 21:14:37 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2012-07-05 21:14:37 (GMT)
commit35f98ad8b6612eb76e1f8d01ee42dd6527a82c48 (patch)
tree1bd8aaaaaffe39feb38bae0c7363119c77e58b0a /src/H5HLpkg.h
parentce0496520836aef9fdea54fc01d5d92fe8f43b77 (diff)
downloadhdf5-35f98ad8b6612eb76e1f8d01ee42dd6527a82c48.zip
hdf5-35f98ad8b6612eb76e1f8d01ee42dd6527a82c48.tar.gz
hdf5-35f98ad8b6612eb76e1f8d01ee42dd6527a82c48.tar.bz2
[svn-r22518] Added flush dependencies for SWMR to the local heap code.
Tested on jam. This branch still has h5diff errors. The library tests all pass, though.
Diffstat (limited to 'src/H5HLpkg.h')
-rw-r--r--src/H5HLpkg.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/H5HLpkg.h b/src/H5HLpkg.h
index 50f5797..2670b18 100644
--- a/src/H5HLpkg.h
+++ b/src/H5HLpkg.h
@@ -95,12 +95,13 @@ typedef struct H5HL_prfx_t H5HL_prfx_t;
struct H5HL_t {
/* General heap-management fields */
- size_t rc; /* Ref. count for prefix & data block using this struct */
- size_t prots; /* # of times the heap has been protected */
- size_t sizeof_size; /* Size of file sizes */
- size_t sizeof_addr; /* Size of file addresses */
- hbool_t single_cache_obj; /* Indicate if the heap is a single object in the cache */
- H5HL_free_t *freelist; /* the free list */
+ size_t rc; /* Ref. count for prefix & data block using this struct */
+ size_t prots; /* # of times the heap has been protected */
+ size_t sizeof_size; /* Size of file sizes */
+ size_t sizeof_addr; /* Size of file addresses */
+ hbool_t single_cache_obj; /* Indicate if the heap is a single object in the cache */
+ hbool_t swmr_write; /* Flag indicating the file is opened with SWMR-write access */
+ H5HL_free_t *freelist; /* the free list */
/* Prefix-specific fields */
H5HL_prfx_t *prfx; /* The prefix object for the heap */
@@ -154,6 +155,12 @@ typedef struct H5HL_cache_dblk_ud_t {
/* Package Private Prototypes */
/******************************/
+/* Generic routines */
+H5_DLL herr_t H5HL__create_flush_depend(H5AC_info_t *parent_entry,
+ H5AC_info_t *child_entry);
+H5_DLL herr_t H5HL__destroy_flush_depend(H5AC_info_t *parent_entry,
+ H5AC_info_t *child_entry);
+
/* Heap routines */
H5_DLL H5HL_t *H5HL__new(size_t sizeof_size, size_t sizeof_addr, size_t prfx_size);
H5_DLL herr_t H5HL__dest(H5HL_t *heap);