summaryrefslogtreecommitdiffstats
path: root/src/H5FDpublic.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-20 15:26:45 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-20 15:26:45 (GMT)
commit1949c40bfddf4bea44345e0cd00baae94597f23a (patch)
treeef28a67a8436ed9f47383d5c22b3d9d7c2c1ba67 /src/H5FDpublic.h
parent234e77b3f94f71c4f3c1529de6aa1d7717128afb (diff)
downloadhdf5-1949c40bfddf4bea44345e0cd00baae94597f23a.zip
hdf5-1949c40bfddf4bea44345e0cd00baae94597f23a.tar.gz
hdf5-1949c40bfddf4bea44345e0cd00baae94597f23a.tar.bz2
[svn-r25983] HDFFV-1125: Eliminate IS_H5FD_MPI() macro use in the library and replace with driver feature flag(s).
Add an MPI atomicity feature flag and remove the macro from the library. tested Parallel on Jam.
Diffstat (limited to 'src/H5FDpublic.h')
-rw-r--r--src/H5FDpublic.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h
index 87edf50..452de02 100644
--- a/src/H5FDpublic.h
+++ b/src/H5FDpublic.h
@@ -234,7 +234,12 @@ typedef enum H5F_mem_t H5FD_mem_t;
* image to store in memory.
*/
#define H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS 0x00000800
-
+ /*
+ * Defining the H5FD_FEAT_HAS_MPI_ATOMICITY for a VFL driver means
+ * that the driver is able to do atomic read/write operations as
+ * defined by MPI atomicity semantics.
+ */
+#define H5FD_FEAT_HAS_MPI_ATOMICITY 0x00001000
/* Forward declaration */
typedef struct H5FD_t H5FD_t;