cds  2.3.2
cds::intrusive::michael_list::traits Struct Reference

MichaelList traits. More...

#include <cds/intrusive/details/michael_list_base.h>

Public Types

typedef base_hook hook
 Hook used. More...
 
typedef opt::none compare
 Key comparison functor. More...
 
typedef opt::none less
 Specifies binary predicate used for key compare. More...
 
typedef cds::backoff::Default back_off
 Back-off strategy.
 
typedef opt::v::empty_disposer disposer
 Disposer for removing items.
 
typedef atomicity::empty_item_counter item_counter
 Item counting feature; by default, disabled. Use cds::atomicity::item_counter or atomicity::cache_friendly_item_counter to enable item counting.
 
typedef empty_stat stat
 Internal statistics. More...
 
typedef opt::v::relaxed_ordering memory_model
 C++ memory ordering model. More...
 
typedef opt::v::rcu_throw_deadlock rcu_check_deadlock
 RCU deadlock checking policy (only for RCU-based MichaelList) More...
 

Static Public Attributes

static const opt::link_check_type link_checker = opt::debug_check_link
 Link fields checking feature. More...
 

Detailed Description

MichaelList traits.

Member Typedef Documentation

◆ compare

Key comparison functor.

No default functor is provided. If the option is not specified, the less is used.

◆ hook

◆ less

Specifies binary predicate used for key compare.

Default is std::less<T>.

◆ memory_model

C++ memory ordering model.

Can be opt::v::relaxed_ordering (relaxed memory model, the default) or opt::v::sequential_consistent (sequentially consisnent memory model).

◆ rcu_check_deadlock

◆ stat

Internal statistics.

By default, internal statistics is disabled (michael_list::empty_stat). Use michael_list::stat to enable it.

Field Documentation

◆ link_checker

const opt::link_check_type cds::intrusive::michael_list::traits::link_checker = opt::debug_check_link
static

Link fields checking feature.

Default is opt::debug_check_link


The documentation for this struct was generated from the following file:

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:45 by Doxygen 1.8.13