cds
2.3.2
|
Metafunction converting option list to michael_list::traits
.
More...
#include <cds/intrusive/details/michael_list_base.h>
Public Types | |
typedef implementation_defined | type |
Metafunction result. | |
Metafunction converting option list to michael_list::traits
.
Supported Options
are:
opt::hook
- hook used. Possible values are: michael_list::base_hook
, michael_list::member_hook
, michael_list::traits_hook
. If the option is not specified, michael_list::base_hook<>
and gc::HP
is used.opt::compare
- key comparison functor. No default functor is provided. If the option is not specified, the opt::less
is used.opt::less
- specifies binary predicate used for key comparison. Default is std::less<T>
.opt::back_off
- back-off strategy used. If the option is not specified, the cds::backoff::Default
is used.opt::disposer
- the functor used for disposing removed items. Default is opt::v::empty_disposer
. Due the nature of GC schema the disposer may be called asynchronously.opt::link_checker
- the type of node's link fields checking. Default is opt::debug_check_link
opt::item_counter
- the type of item counting feature. Default is disabled (atomicity::empty_item_counter
). To enable item counting use atomicity::item_counter
or atomicity::cache_friendly_item_counter
opt::stat
- internal statistics. By default, it is disabled (michael_list::empty_stat
). To enable it use michael_list::stat
opt::memory_model
- C++ memory ordering model. Can be opt::v::relaxed_ordering
(relaxed memory model, the default) or opt::v::sequential_consistent
(sequentially consistent memory model).opt::rcu_check_deadlock
- a deadlock checking policy for RCU-based MichaelList Default is opt::v::rcu_throw_deadlock