This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Support thread cleanup without mingwm10.dll
- From: Brian Dessent <brian at dessent dot net>
- To: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 18 Aug 2008 19:58:27 -0700
- Subject: Re: [PATCH] Support thread cleanup without mingwm10.dll
- References: <48AA2D0F.8080301@cwilson.fastmail.fm>
- Reply-to: GCC Patches <gcc-patches at gcc dot gnu dot org>
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