summaryrefslogtreecommitdiffstats
path: root/src/H5RCprivate.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-09-10 23:02:03 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-09-10 23:02:03 (GMT)
commit5f6d336144b6af368373e80038488e860b28cb7b (patch)
treee71f35941f1143938744b9388b595f8cc4490173 /src/H5RCprivate.h
parent263d13a4c760c61c293ae9840aaf2f4ce76d541a (diff)
downloadhdf5-5f6d336144b6af368373e80038488e860b28cb7b.zip
hdf5-5f6d336144b6af368373e80038488e860b28cb7b.tar.gz
hdf5-5f6d336144b6af368373e80038488e860b28cb7b.tar.bz2
[svn-r24122] more transactions/read contexts
- include 2 examples for using transactions - IOD calls at server side still need to be updated
Diffstat (limited to 'src/H5RCprivate.h')
-rw-r--r--src/H5RCprivate.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/H5RCprivate.h b/src/H5RCprivate.h
index bb77ede..a280ff9 100644
--- a/src/H5RCprivate.h
+++ b/src/H5RCprivate.h
@@ -36,8 +36,19 @@
/****************************/
/* Library Private Typedefs */
/****************************/
+
+/* Request and Linked list info used in transactions and read contexts
+ to track dependencies. */
+typedef struct H5VL_iod_req_info_t {
+ struct H5VL_iod_request_t *request;
+ struct H5VL_iod_request_t *head;
+ struct H5VL_iod_request_t *tail;
+ size_t num_req;
+} H5VL_iod_req_info_t;
+
/* the client Read Context struct */
typedef struct H5RC_t {
+ H5VL_iod_req_info_t req_info; /* must be first */
struct H5VL_iod_file_t *file;
uint64_t c_version;
} H5RC_t;