$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r76124 - in branches/release: . boost boost/smart_ptr/detail
From: pdimov_at_[hidden]
Date: 2011-12-23 18:12:50
Author: pdimov
Date: 2011-12-23 18:12:50 EST (Fri, 23 Dec 2011)
New Revision: 76124
URL: http://svn.boost.org/trac/boost/changeset/76124
Log:
Merge [76123] to release. Refs #6308.
Properties modified: 
   branches/release/   (props changed)
   branches/release/boost/   (props changed)
Text files modified: 
   branches/release/boost/smart_ptr/detail/sp_counted_base_aix.hpp |    11 ++++++-----                             
   1 files changed, 6 insertions(+), 5 deletions(-)
Modified: branches/release/boost/smart_ptr/detail/sp_counted_base_aix.hpp
==============================================================================
--- branches/release/boost/smart_ptr/detail/sp_counted_base_aix.hpp	(original)
+++ branches/release/boost/smart_ptr/detail/sp_counted_base_aix.hpp	2011-12-23 18:12:50 EST (Fri, 23 Dec 2011)
@@ -21,11 +21,15 @@
 //
 
 #include <boost/detail/sp_typeinfo.hpp>
+#include <builtins.h>
 #include <sys/atomic_op.h>
 
 namespace boost
 {
 
+namespace detail
+{
+
 inline void atomic_increment( int32_t* pw )
 {
     // ++*pw;
@@ -39,9 +43,9 @@
 
     int32_t originalValue;
 
-    __asm__ __volatile__( "sync" );
+    __lwsync();
     originalValue = fetch_and_add( pw, -1 );
-    __asm__ __volatile__( "isync" );
+    __isync();
 
     return (originalValue - 1);
 }
@@ -59,9 +63,6 @@
     }
 }
 
-namespace detail
-{
-
 class sp_counted_base
 {
 private: