Boost C++ Libraries: Ticket #9314: boost shared_ptr should use C++11 atomics when available https://svn.boost.org/trac10/ticket/9314 <p> If a native assembly lock-free version is unavailable, boost should use native C++11 atomics if the library has them. This will far more reliably pick an efficient implementation for shared_ptr in cases where the optimized assembly version is unavailable and where <span class="underline">sync support may be unavailable/not detected properly. </span></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9314 Trac 1.4.3 viboes Fri, 29 Nov 2013 21:31:59 GMT component changed; owner set https://svn.boost.org/trac10/ticket/9314#comment:1 https://svn.boost.org/trac10/ticket/9314#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Peter Dimov</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">smart_ptr</span> </li> </ul> Ticket Peter Dimov Fri, 13 Dec 2013 21:11:51 GMT <link>https://svn.boost.org/trac10/ticket/9314#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9314#comment:2</guid> <description> <p> <a class="ext-link" href="https://github.com/boostorg/smart_ptr/commit/fed15ad8c50921cbfc0365156e4e4f4454dc1b91"><span class="icon">​</span>https://github.com/boostorg/smart_ptr/commit/fed15ad8c50921cbfc0365156e4e4f4454dc1b91</a> adds support for <code>#define BOOST_SP_USE_STD_ATOMIC</code> which forces <code>std::atomic</code> to be used. This will eventually become the default when <code>std::atomic</code> is autodetected to be present and working. </p> </description> <category>Ticket</category> </item> </channel> </rss>