Re: [Boost-bugs] [Boost C++ Libraries] #6308: Add sp_counted_base_aix.hpp using AIX atomic operations

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6308: Add sp_counted_base_aix.hpp using AIX atomic operations
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-22 21:07:25


#6308: Add sp_counted_base_aix.hpp using AIX atomic operations
-----------------------------------------+----------------------------------
  Reporter: aaron.riekenberg@… | Owner: pdimov
      Type: Feature Requests | Status: reopened
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.48.0 | Severity: Optimization
Resolution: | Keywords:
-----------------------------------------+----------------------------------
Changes (by aaron.riekenberg@…):

  * status: closed => reopened
  * resolution: fixed =>

Comment:

 As documented in smart_ptr/detail/atomic_count.hpp, in cases when the
 reference count is decremented to 0 we need a memory barrier before
 destroying the pointed-to object.

 sp_counted_base_aix_memory_barrier.patch adds this using the isync
 instruction.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6308#comment:3>
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:50:08 UTC