As write there, this cleanup mechanism is not supported for static linkage. It looks like the same issues as global constructors/destructors in c++. Maybe it is acceptable to provide a cleanup mechanism via a small peace of C++ code where a global object's constructor/destructor does the same as what DllMain would do in a dynamic library.

         Werner


On 24.03.2014 19:41, Dana Robinson wrote:

Hi all,

This is another (very) brief RFC that outlines how we will address some long-standing issues with thread-local storage in the Windows thread-safe code. Although no new public functionality will be exposed, the information may be of interest and I'd be interested in hearing from any static + thread-safe Windows users.

The new function will appear in HDF5 1.8.13, which will be released in May.

If anyone has any comments or concerns, please let us know.

Cheers,

Dana



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

--
___________________________________________________________________________
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://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to