This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Support thread cleanup without mingwm10.dll


Charles Wilson wrote:

> then the solution for those folks is to link against, and ship, the
> shared libgcc_s_1.dll, instead of against the mingwm10.dll.  Then (a)
> they don't leak, and (b) they don't rely on static TLS callbacks, so it
> still works on 9x/Me -- if I understand Aaron's original message.

But that's not what the patch does -- it requires the static TLS
callback regardless of whether shared or static libgcc is used.  The
DllMain() DLL_THREAD_DETACH notification method used by mingwm10.dll is
gone completely.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]