Determines whether the HDF5 library was built with the thread-safety feature enabled
Procedure:
H5_IS_LIBRARY_THREADSAFE(is_ts)
Signature:
herr_t H5is_library_threadsafe
(
hbool_t *is_ts
)
Parameters:
hbool_t *is_ts | OUT: Boolean value indicating whether the library was built with thread-safety enabled |
Description:
The HDF5 library, although not internally multi-threaded, can be built with a thread-safety feature enabled that protects internal data structures with a mutex. In certain circumstances, it may be useful to determine, at run-time, whether the linked HDF5 library was built with the thread-safety feature enabled.
Returns:
Returns a non-negative value if successful. Otherwise, returns a negative value.
Example:
History:
Release | Change |
---|
1.8.16 | C function introduced with this release. |
--- Last Modified: July 28, 2020 | 10:15 AM