Boost C++ Libraries: Ticket #12795: thread library - thread_specific_ptr documentation gives obsolete recomendation
https://svn.boost.org/trac10/ticket/12795
<p>
thread_specific_ptr documentation says
</p>
<p>
<em>Though compilers often provide this facility in the form of extensions to the declaration syntax (such as _declspec(thread) or thread annotations on static or namespace-scope variable declarations), such support is non-portable, and is often limited in some way, such as only supporting POD types.</em>
</p>
<p>
Now as we have portable <strong>thread_local</strong> in current compilers, it should be prefered to use <strong>thread_local</strong>, since thread_specific_ptr has known performance limitation.
</p>
en-usBoost C++ Libraries/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/12795
Trac 1.4.3anonymousSat, 04 Nov 2017 02:37:56 GMTowner, component changed
https://svn.boost.org/trac10/ticket/12795#comment:1
https://svn.boost.org/trac10/ticket/12795#comment:1
<ul>
<li><strong>owner</strong>
changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">Anthony Williams</span>
</li>
<li><strong>component</strong>
<span class="trac-field-old">Documentation</span> → <span class="trac-field-new">thread</span>
</li>
</ul>
TicketviboesTue, 14 Nov 2017 20:43:32 GMTseverity changed
https://svn.boost.org/trac10/ticket/12795#comment:2
https://svn.boost.org/trac10/ticket/12795#comment:2
<ul>
<li><strong>severity</strong>
<span class="trac-field-old">Optimization</span> → <span class="trac-field-new">Cosmetic</span>
</li>
</ul>
<p>
A PR is welcome.
</p>
TicketviboesTue, 14 Nov 2017 20:43:42 GMTowner, status changed
https://svn.boost.org/trac10/ticket/12795#comment:3
https://svn.boost.org/trac10/ticket/12795#comment:3
<ul>
<li><strong>owner</strong>
changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span>
</li>
<li><strong>status</strong>
<span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span>
</li>
</ul>
Ticket