pion-net  4.0.9
tagged_ptr.hpp
1 // tagged pointer, for aba prevention
2 //
3 // Copyright (C) 2008 Tim Blechmann
4 //
5 // Distributed under the Boost Software License, Version 1.0. (See
6 // accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8 
9 // Disclaimer: Not a Boost library.
10 
11 #ifndef BOOST_LOCKFREE_TAGGED_PTR_HPP_INCLUDED
12 #define BOOST_LOCKFREE_TAGGED_PTR_HPP_INCLUDED
13 
14 #include <boost/lockfree/detail/prefix.hpp>
15 
16 #ifndef BOOST_LOCKFREE_PTR_COMPRESSION
17 #include <boost/lockfree/detail/tagged_ptr_dcas.hpp>
18 #else
19 #include <boost/lockfree/detail/tagged_ptr_ptrcompression.hpp>
20 #endif
21 
22 #endif /* BOOST_LOCKFREE_TAGGED_PTR_HPP_INCLUDED */