On 22/12/13 12:00 PM, Kai Tietz wrote: > 2013/12/22 Daniel Villeneuve <[email protected]>: >> Is the dynamic library vs extern thread-local limitation you bring >> above specific to Mingw-w64's implementation? or applicable to >> Windows in general? > It applies to thread-local variables in general. Especially for > Windows, as here DLL is finally linked. You are trying to export a > dynamical address created in context of thread calling. So it isn't a > 1:1 export supported by pe-coff file-format. > >> Using dynamic libraries with extern thread-local variables works as >> I expect on Linux and Solaris, but this might be an OS-specific >> property rather than a general standard requirement. > Windows DLL != shared object for ELF. In general pe-coff != elf > Thanks for pointing out the root of the difference.
Regards, -- Daniel ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
