summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-08-26 17:05:57 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-08-26 17:05:57 (GMT)
commit606c16e11126bd908e673abefd4f0b7e91562d7f (patch)
treeb00d04aa9badff7a5c747a846b11c0e354a40596 /src/H5public.h
parent6635d4c003caf15aadc16b0453d71ca1b0e8ca1f (diff)
downloadhdf5-606c16e11126bd908e673abefd4f0b7e91562d7f.zip
hdf5-606c16e11126bd908e673abefd4f0b7e91562d7f.tar.gz
hdf5-606c16e11126bd908e673abefd4f0b7e91562d7f.tar.bz2
[svn-r27587] Added a new API call (H5is_library_threadsafe) to the library. This call can
be used to determine at runtime if the library was built with thread-safety. Fixes HDFFV-9496 Tested on: h5committest
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5public.h b/src/H5public.h
index b9b4dd7..8c7da05 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -331,6 +331,7 @@ H5_DLL herr_t H5get_libversion(unsigned *majnum, unsigned *minnum,
unsigned *relnum);
H5_DLL herr_t H5check_version(unsigned majnum, unsigned minnum,
unsigned relnum);
+H5_DLL herr_t H5is_library_threadsafe(hbool_t *is_ts);
H5_DLL herr_t H5free_memory(void *mem);
H5_DLL void *H5allocate_memory(size_t size, hbool_t clear);
H5_DLL void *H5resize_memory(void *mem, size_t size);
@@ -338,5 +339,6 @@ H5_DLL void *H5resize_memory(void *mem, size_t size);
#ifdef __cplusplus
}
#endif
-#endif
+#endif /* _H5public_H */
+