Hi Isaac,

as far as I know the problem with static libraries is not the threadsafety of HDF5 itself, the code is the same, but the initialization & cleanup code. With a shared library, there are such defined entry points when loading and unloading a shared library which does a clean initialization and cleanup, but with a static library there is no such option. If you'd want to use threadsafe HDF5 with the static library, you would need to explicitly call the initialization & cleanup, for instance from your main program or from another shared library at startup/cleanup. I'm not sure whether HDF5 1.8.17 explicitly supports such, it may be possible but not implemented that way.

        Werner


On 03.10.2016 20:59, Isaac Gerg wrote:
I see in the docs that as of 1.8.6 hdf threadsafe is available for windows but only if you use link hdf shared. Is this true with 1.8.17 (or the latest hdf version)?

Is thread safe available for hdf static in windows?

Thanks,
isaac


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

--
___________________________________________________________________________
Dr. Werner Benger                Visualization Research
Center for Computation & Technology at Louisiana State University (CCT/LSU)
2019  Digital Media Center, Baton Rouge, Louisiana 70803
Tel.: +1 225 578 4809                        Fax.: +1 225 578-5362

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to