Boost logo

Boost :

Subject: Re: [boost] thread_specific crashes the application when it is in a .so file
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-12-02 11:43:27


Le 02/12/2015 17:10, George Georgiev a écrit :
> Hi,
>
> Is there a known issue about boost::thread_specific when a global
> thread_specific object is in a .so file?
Three was a fix for https://svn.boost.org/trac/boost/ticket/3926

Please, could you check with the develop branch?
> The exact same code replacing it with thread_local boost::unique_ptr<Foo>
> works.
>
> By the way is there a macro that determines is thread_local supported from
> the compiler or not?
Not that I'm aware of.

Vicente


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