00001 // tagged pointer, for aba prevention 00002 // 00003 // Copyright (C) 2008 Tim Blechmann 00004 // 00005 // Distributed under the Boost Software License, Version 1.0. (See 00006 // accompanying file LICENSE_1_0.txt or copy at 00007 // http://www.boost.org/LICENSE_1_0.txt) 00008 00009 // Disclaimer: Not a Boost library. 00010 00011 #ifndef BOOST_LOCKFREE_TAGGED_PTR_HPP_INCLUDED 00012 #define BOOST_LOCKFREE_TAGGED_PTR_HPP_INCLUDED 00013 00014 #include <boost/lockfree/detail/prefix.hpp> 00015 00016 #ifndef BOOST_LOCKFREE_PTR_COMPRESSION 00017 #include <boost/lockfree/detail/tagged_ptr_dcas.hpp> 00018 #else 00019 #include <boost/lockfree/detail/tagged_ptr_ptrcompression.hpp> 00020 #endif 00021 00022 #endif /* BOOST_LOCKFREE_TAGGED_PTR_HPP_INCLUDED */