summaryrefslogtreecommitdiffstats
path: root/test/cache.c
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 /test/cache.c
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 'test/cache.c')
-rw-r--r--test/cache.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/cache.c b/test/cache.c
index 1e5ec0e..960eea4 100644
--- a/test/cache.c
+++ b/test/cache.c
@@ -15650,11 +15650,6 @@ check_unprotect_ro_dirty_err(void)
* -- should succeed.
*/
- /* at present this test will fail due to code allowing current code
- * to function with errors that are not dangerous. Thus this test
- * is commented out for now. Put in back into use as soon as possible.
- */
-#if 0 /* JRM */
if ( pass ) {
reset_entries();
@@ -15687,7 +15682,6 @@ check_unprotect_ro_dirty_err(void)
takedown_cache(cache_ptr, FALSE, FALSE);
}
-#endif
/* allocate a another cache, protect an entry read only twice, and
* then unprotect it with the dirtied flag set. This should fail.