Web lists-archives.org

Re: [Mingw-users] mingwm10.dll





> > 
> > So, does anyone know (or can refer to some documentation explaining)
> > *exactly* what `mingwm10.dll' does?
> 
> As the comment above says, its sole purpose is to free TLS variables
> when a thread detaches.  If you can arrange for some other 
> way for this
> to happen, then you can circumvent the need for this DLL.  I 
> can't think
> of any, and I'm pretty sure that in all the past threads on this topic
> nobody else presented a workable solution.
> 

Look in the PECOFF spec 
"6.7.2. TLS Callback Functions
The program can provide one or more TLS callback functions (though
Microsoft compilers do not
currently use this feature) to support additional initialization and
termination for TLS data objects. A typical reason to use such a
callback function would be to call constructors and destructors for
objects."

In order for that to work, we first need compiler and linker support to
write and handle .tls section.

Danny




> Brian
> 
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
dat=121642
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users