cds  2.2.0
cds::intrusive::msqueue Namespace Reference

MSQueue related definitions. More...

Data Structures

struct  empty_stat
 Dummy queue statistics - no counting is performed, no overhead. Support interface like msqueue::stat. More...
struct  make_traits
 Metafunction converting option list to msqueue::traits. More...
struct  stat
 Queue internal statistics. May be used for debugging or profiling. More...
struct  traits
 MSQueue default traits. More...


template<class GC , typename Tag = opt::none>
using node = cds::intrusive::single_link::node< GC, Tag >
 Queue node. More...
template<typename... Options>
using base_hook = cds::intrusive::single_link::base_hook< Options... >
 Base hook. More...
template<size_t MemberOffset, typename... Options>
using member_hook = cds::intrusive::single_link::member_hook< MemberOffset, Options... >
 Member hook. More...
template<typename NodeTraits , typename... Options>
using traits_hook = cds::intrusive::single_link::traits_hook< NodeTraits, Options... >
 Traits hook. More...

Detailed Description

MSQueue related definitions.

Typedef Documentation

§ base_hook

template<typename... Options>
using cds::intrusive::msqueue::base_hook = typedef cds::intrusive::single_link::base_hook< Options...>

Base hook.

Options are:

§ member_hook

template<size_t MemberOffset, typename... Options>
using cds::intrusive::msqueue::member_hook = typedef cds::intrusive::single_link::member_hook< MemberOffset, Options... >

Member hook.

MemberOffset specifies offset in bytes of node member into your structure. Use offsetof macro to define MemberOffset

Options are:

§ node

template<class GC , typename Tag = opt::none>
using cds::intrusive::msqueue::node = typedef cds::intrusive::single_link::node< GC, Tag >

Queue node.

Template parameters:

  • GC - garbage collector used
  • Tag - a tag

§ traits_hook

template<typename NodeTraits , typename... Options>
using cds::intrusive::msqueue::traits_hook = typedef cds::intrusive::single_link::traits_hook< NodeTraits, Options... >

Traits hook.

NodeTraits defines type traits for node. See node_traits for NodeTraits interface description

Options are:

cds 2.2.0 Developed by Maxim Khizhinsky aka khizmax 2007 - 2017
Autogenerated Wed Jan 4 2017 08:49:58 by Doxygen 1.8.12