Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-05 Thread Václav Zeman
On 5 September 2012 15:40, Ryan Johnson wrote: > On 05/09/2012 4:05 AM, Václav Zeman wrote: >> >> On 4 September 2012 23:51, Christopher Faylor wrote: >>> >>> On Tue, Sep 04, 2012 at 10:50:09PM +0200, V??clav Zeman wrote: On 09/04/2012 04:39 PM, Ryan Johnson wrote: > > On 04/09/20

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-05 Thread Ryan Johnson
On 05/09/2012 4:05 AM, Václav Zeman wrote: On 4 September 2012 23:51, Christopher Faylor wrote: On Tue, Sep 04, 2012 at 10:50:09PM +0200, V??clav Zeman wrote: On 09/04/2012 04:39 PM, Ryan Johnson wrote: On 04/09/2012 8:58 AM, V??clav Zeman wrote: Hi. I am am porting a library that can use th

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-05 Thread Václav Zeman
On 4 September 2012 23:51, Christopher Faylor wrote: > On Tue, Sep 04, 2012 at 10:50:09PM +0200, V??clav Zeman wrote: >>On 09/04/2012 04:39 PM, Ryan Johnson wrote: >>> On 04/09/2012 8:58 AM, V??clav Zeman wrote: Hi. I am am porting a library that can use the __thread keyword in its >

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-04 Thread Christopher Faylor
On Tue, Sep 04, 2012 at 10:50:09PM +0200, V??clav Zeman wrote: >On 09/04/2012 04:39 PM, Ryan Johnson wrote: >> On 04/09/2012 8:58 AM, V??clav Zeman wrote: >>> Hi. >>> >>> I am am porting a library that can use the __thread keyword in its >>> internals to provide thread local storage. Now, with MSVC

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-04 Thread Václav Zeman
On 09/04/2012 04:39 PM, Ryan Johnson wrote: > On 04/09/2012 8:58 AM, Václav Zeman wrote: >> Hi. >> >> I am am porting a library that can use the __thread keyword in its >> internals to provide thread local storage. Now, with MSVC there is a >> limitation on pre-Vista Windows (see [1]) that DLLs usi

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-04 Thread Ryan Johnson
On 04/09/2012 8:58 AM, Václav Zeman wrote: Hi. I am am porting a library that can use the __thread keyword in its internals to provide thread local storage. Now, with MSVC there is a limitation on pre-Vista Windows (see [1]) that DLLs using __declspec(thread) (MSVC equivalent of GCC's __thread)

limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-04 Thread Václav Zeman
Hi. I am am porting a library that can use the __thread keyword in its internals to provide thread local storage. Now, with MSVC there is a limitation on pre-Vista Windows (see [1]) that DLLs using __declspec(thread) (MSVC equivalent of GCC's __thread) cannot be loaded using LoadLibrary() because