Boost C++ Libraries: Ticket #1762: BOOST_DISABLE_THREADS should imply BOOST_SP_DISABLE_THREADS https://svn.boost.org/trac10/ticket/1762 <p> When I built my code with BOOST_DISABLE_THREADS defined, I was surprised to have to deal with threading issues in the shared_ptr library. Defining this variable should automatically define BOOST_SP_DISABLE_THREADS, or else the code in &lt;detail/sp_counted_base.hpp&gt; that says </p> <pre class="wiki">#if defined( BOOST_SP_DISABLE_THREADS ) </pre><p> should really say </p> <pre class="wiki">#if defined( BOOST_SP_DISABLE_THREADS ) || defined(BOOST_DISABLE_THREADS) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1762 Trac 1.4.3 Peter Dimov Thu, 03 Apr 2008 17:31:11 GMT <link>https://svn.boost.org/trac10/ticket/1762#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1762#comment:1</guid> <description> <p> Unfortunately, Boost.Config defines BOOST_DISABLE_THREADS in some situations, so I can't rely on it to reflect the user's intent. </p> </description> <category>Ticket</category> </item> <item> <author>nigels@…</author> <pubDate>Wed, 09 Apr 2008 03:59:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1762#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1762#comment:2</guid> <description> <p> I think that either BOOST_DISABLE_THREADS and BOOST_SP_DISABLE_THREADS should have the same effect. The first applies globally across boost, the second only applies to smart pointers. I don't think it should be necessary for BOOST_SP_DISABLE_THREADS to be specified in addition to BOOST_DISABLE_THREADS. </p> <p> Thanks for your boost efforts! </p> <ul><li>Nigel </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Mon, 21 Apr 2008 21:50:09 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1762#comment:3 https://svn.boost.org/trac10/ticket/1762#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This should be fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/44369" title="Honor BOOST_DISABLE_THREADS; route GCC/ARM to the spinlock ...">[44369]</a>. </p> Ticket anonymous Tue, 03 Feb 2015 22:25:37 GMT <link>https://svn.boost.org/trac10/ticket/1762#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1762#comment:4</guid> <description> <p> please disable boost from my computer </p> </description> <category>Ticket</category> </item> </channel> </rss>