[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] MinGW dependencies
From:       Kai Tietz <ktietz70 () googlemail ! com>
Date:       2011-01-21 9:47:03
Message-ID: AANLkTi=O9eXMz+Y5RES0kvV4iN-pS-_8hs7jVxLezmq2 () mail ! gmail ! com
[Download RAW message or body]

2011/1/21 Nathan Schulte <reklipz@gmail.com>:
> On Tue, Nov 23, 2010 at 2:02 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> > ... For older versions of mingw's
> > runtime you can possibly have additional dependency to mingwm10.dll,
> > if you are using TLS.
> 
> I've been out of the loop for some time; I didn't know this was
> resolved.  I'm aware of the problem in that the only notification of a
> dying thread is(was?) via DllMain, which could only be exposed via a
> shared object,  hence mingwm10.dll.
> Would someone care to explain how this has changed, under the
> assumption that it's not overly complicated given my understanding?
> If not, perhaps links to the relative archived messages; my initial
> searches brought me back to the following thread, which coincides with
> what I'm aware of:
> http://thread.gmane.org/gmane.comp.gnu.mingw.user/21694
> 
> Much thanks,
> Nate

Nate,  newer runtime uses TLS callbacks (more detailed information can
be found in pe-coff specification).  For newer OSes this support is
present. For older Windows OSes the implementation uses still the DLL
approach (mingwm10.dll). but uses here a lazy loading mechanism. The
TLS callbacks getting called for each thread/process
attaching/detaching to a process, like a DLL hook.

Kai

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may \
cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic