Subject: Re: [boost] Thread (win32) and current_thread_tls_key issues
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-07-03 12:10:32
Le 03/07/12 10:12, Anthony Williams a écrit :
> On 03/07/12 08:39, Anthony Williams wrote:
>> On 02/07/12 09:50, Pekka Seppänen wrote:
>>> Currently Threads's Win32 TLS implementation uses a global static variable
>>> thread::current_thread_tls_key that is defined in src/win32/thread.cpp. As you
>>> may know, static variables have a tendency of not being allocated in a very
>>> specific order.
>> Oops. This was changed from direct init via a macro (which does lead to
>> static initialization) to init via an intermediate variable (which
>> doesn't) in the recent batch of thread updates and I didn't spot it.
>> I'll commit a fix for it.
> Revision 79239 on trunk
it seems it was me that committed this change
while trying to fix http://svn.boost.org/trac/boost/ticket/4885