[Boost-bugs] [Boost C++ Libraries] #1939: request: extend, make atomic_count a public header file

Subject: [Boost-bugs] [Boost C++ Libraries] #1939: request: extend, make atomic_count a public header file
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-20 18:25:06


#1939: request: extend, make atomic_count a public header file
--------------------------------------------------+-------------------------
 Reporter: Bryan Green <bryan.d.green_at_[hidden]> | Owner: pdimov
     Type: Feature Requests | Status: new
Milestone: Boost 1.36.0 | Component: smart_ptr
  Version: Boost 1.35.0 | Severity: Optimization
 Keywords: atomic_count synchronization |
--------------------------------------------------+-------------------------
 Hello,

 I believe this question is for Peter Dimov, as the author of atomic_count
 and sp_counted_base.

 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.

 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. :)

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1939>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC