summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-17 21:25:04 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-17 21:25:04 (GMT)
commitf02ced7e7443563581930a6c2d58d1628608bbdd (patch)
tree490bf669896e2b07c5a5094063f87ab2be2b0914 /src/H5Fpkg.h
parent32a1188bbd648e981615a388a8ca011df76fa1e0 (diff)
downloadhdf5-f02ced7e7443563581930a6c2d58d1628608bbdd.zip
hdf5-f02ced7e7443563581930a6c2d58d1628608bbdd.tar.gz
hdf5-f02ced7e7443563581930a6c2d58d1628608bbdd.tar.bz2
Moves lock flag to H5F_shared_t and adds test.
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 294687c..30306d8 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -306,6 +306,7 @@ struct H5F_shared_t {
struct H5G_t *root_grp; /* Open root group */
H5FO_t *open_objs; /* Open objects in file */
H5UC_t *grp_btree_shared; /* Ref-counted group B-tree node info */
+ hbool_t use_file_locking; /* Whether or not to use file locking */
hbool_t closing; /* File is in the process of being closed */
/* Cached VOL connector ID & info */
@@ -382,7 +383,6 @@ struct H5F_t {
hbool_t closing; /* File is in the process of being closed */
struct H5F_t *parent; /* Parent file that this file is mounted to */
unsigned nmounts; /* Number of children mounted to this file */
- hbool_t use_file_locking; /* Whether or not to use file locking */
};