summaryrefslogtreecommitdiffstats
path: root/src/H5Cprivate.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/H5Cprivate.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/H5Cprivate.h')
-rw-r--r--src/H5Cprivate.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h
index dc71e16..d3fcbeb 100644
--- a/src/H5Cprivate.h
+++ b/src/H5Cprivate.h
@@ -283,20 +283,6 @@ typedef herr_t (*H5C_log_flush_func_t)(H5C_t * cache_ptr,
* must be zero whenever either is_protected or is_read_only
* are TRUE.
*
- * max_ro_ref_count: Integer field used to track the maximum value of
- * ro_ref_count in the current protection of this entry.
- * The field must be reset to zero when the entry is
- * unprotected.
- *
- * This field exist to allow us to refrain from flagging
- * an error if an entry is protected read only, and then
- * unprotected dirtied if the ro_ref_count has not exceeded
- * 1.
- *
- * It is a temporary fix which should be removed once we
- * have corrected all the instances of this behaviour in the
- * code that calls the metadata cache.
- *
* is_pinned: Boolean flag indicating whether the entry has been pinned
* in the cache.
*
@@ -466,7 +452,6 @@ typedef struct H5C_cache_entry_t
hbool_t is_protected;
hbool_t is_read_only;
int ro_ref_count;
- int max_ro_ref_count; /* delete this when possible */
hbool_t is_pinned;
hbool_t in_slist;
hbool_t flush_marker;