Boost logo

Boost :

Subject: Re: [boost] Thread (win32) and current_thread_tls_key issues
From: Jim Bell (Jim_at_[hidden])
Date: 2012-07-02 18:25:09

On 7/2/2012 12:11 PM, Vicente J. Botet Escriba wrote:
> Le 02/07/12 10:50, Pekka Seppänen a écrit :
>> ...
>> I propose that thread::current_thread_tls_key is moved to a static
>> function
>> that sole purpose is to return reference to that variable (and thus
>> ensure
>> that current_thread_tls_key is initialized before it is used for the
>> first
>> time). Also, move thread::current_thread_tls_init_flag to
>> thread::set_current_thread_data() to make sure this won't happen to
>> that, too.

Could this fix the test_tss_lib test failures in

That would be nice.

Boost list run by bdawes at, gregod at, cpdaniel at, john at