Boost C++ Libraries: Ticket #1939: request: extend, make atomic_count a public header file https://svn.boost.org/trac10/ticket/1939 <p> Hello, </p> <p> I believe this question is for Peter Dimov, as the author of atomic_count and sp_counted_base. </p> <p> Have you considered making atomic_count.hpp a public header file, i.e. not in the 'detail' subdirectory, and adding some more traditional test-and-set type operations, such as post-increment and operator+=? This is a generally useful interface, and not easy to replicate on one's own in a portable way. As for the operations which are missing from the atomic_count class itself, it seems apparent from the implementation files for atomic_count.hpp and sp_counted_base_sync.hpp that these operations are available. </p> <p> Is this something you are interested in doing, or do you have reservations about such a public class? Are you interested in help, in the form of patches? I'd be glad to contribute. It looks like all the hard work has already been done. :) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1939 Trac 1.4.3 Peter Dimov Sat, 28 Feb 2009 17:09:04 GMT milestone changed https://svn.boost.org/trac10/ticket/1939#comment:1 https://svn.boost.org/trac10/ticket/1939#comment:1 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket Peter Dimov Thu, 24 Feb 2011 17:18:03 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1939#comment:2 https://svn.boost.org/trac10/ticket/1939#comment:2 <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">wontfix</span> </li> </ul> <p> This functionality will be provided by the upcoming Boost.Atomic and C++0x. </p> Ticket