Updated atomic access syntax to match N2674 and the WD.

[SVN r47357]
This commit is contained in:
Peter Dimov
2008-07-12 16:07:20 +00:00
parent 2a92df56f2
commit 77ab953171
4 changed files with 98 additions and 73 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ void reader( int r )
#else
boost::shared_ptr<X> p2 = ps.atomic_load();
boost::shared_ptr<X> p2 = boost::atomic_load( &ps );
s += p2->get();
@@ -134,7 +134,7 @@ void writer()
BOOST_TEST( p2->v_ == i );
p2->set();
ps.atomic_store( p2 );
boost::atomic_store( &ps, p2 );
#endif
}