summaryrefslogtreecommitdiffstats
path: root/src/H5Dpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-08-29 05:00:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-08-29 05:00:07 (GMT)
commit097d2de6f8d8790596bbd189a8e01929e353bdd8 (patch)
tree89ad28cc21b05752d6b3b2d5f31802acaf3eada7 /src/H5Dpkg.h
parent1103585dc13cd4aa3bb2a05b6e2232fb1fbd72bd (diff)
downloadhdf5-097d2de6f8d8790596bbd189a8e01929e353bdd8.zip
hdf5-097d2de6f8d8790596bbd189a8e01929e353bdd8.tar.gz
hdf5-097d2de6f8d8790596bbd189a8e01929e353bdd8.tar.bz2
[svn-r27615] Description:
Protect dataset that's closing from being flushed again, if it's the last one holding a file open. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r--src/H5Dpkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h
index 6e9a6a7..11f8918 100644
--- a/src/H5Dpkg.h
+++ b/src/H5Dpkg.h
@@ -408,6 +408,7 @@ typedef struct H5D_rdcdc_t {
*/
typedef struct H5D_shared_t {
size_t fo_count; /* Reference count */
+ hbool_t closing; /* Flag to indicate dataset is closing */
hid_t type_id; /* ID for dataset's datatype */
H5T_t *type; /* Datatype for this dataset */
H5S_t *space; /* Dataspace of this dataset */