Home
last modified time | relevance | path

Searched refs:tagged_ptr (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/boost/lockfree/detail/
Dtagged_ptr_dcas.hpp32 tagged_ptr class
38 tagged_ptr(void) BOOST_NOEXCEPT//: ptr(0), tag(0) in tagged_ptr() function in boost::lockfree::detail::tagged_ptr
42 tagged_ptr(tagged_ptr const & p): in tagged_ptr() function in boost::lockfree::detail::tagged_ptr
46 tagged_ptr(tagged_ptr const & p) = default;
49 explicit tagged_ptr(T * p, tag_t t = 0): in tagged_ptr() function in boost::lockfree::detail::tagged_ptr
56 tagged_ptr & operator= (tagged_ptr const & p) in operator =()
62 tagged_ptr & operator= (tagged_ptr const & p) = default;
74 bool operator== (volatile tagged_ptr const & p) const in operator ==()
79 bool operator!= (volatile tagged_ptr const & p) const in operator !=()
Dtagged_ptr_ptrcompression.hpp25 class tagged_ptr class
64 tagged_ptr(void) BOOST_NOEXCEPT//: ptr(0), tag(0) in tagged_ptr() function in boost::lockfree::detail::tagged_ptr
69 tagged_ptr(tagged_ptr const & p): in tagged_ptr() function in boost::lockfree::detail::tagged_ptr
73 tagged_ptr(tagged_ptr const & p) = default;
76 explicit tagged_ptr(T * p, tag_t t = 0): in tagged_ptr() function in boost::lockfree::detail::tagged_ptr
83 tagged_ptr & operator= (tagged_ptr const & p) in operator =()
89 tagged_ptr & operator= (tagged_ptr const & p) = default;
100 bool operator== (volatile tagged_ptr const & p) const in operator ==()
105 bool operator!= (volatile tagged_ptr const & p) const in operator !=()
Dfreelist.hpp47 tagged_ptr<freelist_node> next;
50 typedef tagged_ptr<freelist_node> tagged_node_ptr;
54 typedef tagged_ptr<T> tagged_node_handle;
110 void destruct (tagged_node_handle const & tagged_ptr) in destruct() argument
112 T * n = tagged_ptr.get_ptr(); in destruct()
648 tagged_ptr<T>,
/third_party/boost/libs/lockfree/test/
Dtagged_ptr_test.cpp23 typedef tagged_ptr<int>::tag_t tag_t; in BOOST_AUTO_TEST_CASE()
27 tagged_ptr<int> i (&a, 0); in BOOST_AUTO_TEST_CASE()
28 tagged_ptr<int> j (&b, 1); in BOOST_AUTO_TEST_CASE()
37 tagged_ptr<int> i (&a, 0); in BOOST_AUTO_TEST_CASE()
38 tagged_ptr<int> j (i); in BOOST_AUTO_TEST_CASE()
45 tagged_ptr<int> i (&a, 0); in BOOST_AUTO_TEST_CASE()
50 tagged_ptr<int> j (&a, max_tag); in BOOST_AUTO_TEST_CASE()
55 tagged_ptr<int> j (&a, max_tag - 1); in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/lockfree/doc/
Dlockfree.qbk244 _lockfree_ uses a =tagged_ptr= helper class which associates a pointer with an integer tag. This us…
250 implementation of the =boost::lockfree::detail::tagged_ptr= class.