This is a C library issue, so there are no constructors or destructors. 
Thread-safe & C++ bindings is currently an unsupported configuration.

Dana

From: Hdf-forum [mailto:[email protected]] On Behalf Of 
Werner Benger
Sent: Monday, March 24, 2014 5:09 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] RFC: Thread-Local Storage Cleanup in Thread-Safe HDF5 
for Windows

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]<mailto:[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