2 Dec
2015
2 Dec
'15
4:43 p.m.
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