lock-free shared_ptr on solaris

27 Aug
2009
27 Aug
'09
8:24 p.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
5763
Age (days ago)
5763
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Meerkötter