Boost logo

Boost :

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
>
> Anthony
Hi,

it seems it was me that committed this change
http://svn.boost.org/trac/boost/changeset/76752
while trying to fix http://svn.boost.org/trac/boost/ticket/4885

Sorry,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk