
1 Sep
2009
1 Sep
'09
6:07 a.m.
Hello, from looking at [1] i understood that there is no lock-free implementation of shared_ptrs on solaris. When snooping around in the source i noticed that there is a ./smart_ptr/detail/atomic_count_solaris.hpp It is using the solaris specific <atomic.h> to implement an atomic counter. frank@dexter:~/boost_1_40_0/boost$ find -type f | xargs grep atomic_count_solaris.hpp ./smart_ptr/detail/atomic_count_solaris.hpp:// boost/detail/atomic_count_solaris.hpp But apparently it is not in use. I am currently wondering why? KR, Frank [1] http://www.boost.org/doc/libs/1_40_0/libs/smart_ptr/shared_ptr.htm