Determines whether the HDF5 library was built with the thread-safety feature enabled

Procedure:

H5_IS_LIBRARY_THREADSAFE(is_ts)

Signature:

<pre><code class="language-c">herr_t H5is_library_threadsafe
(
    hbool_t *is_ts
)</code></pre>

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:

Coming soon!

History:
Release    Change
1.8.16C function introduced with this release.