cds  2.3.2
cds::container::msqueue::traits Struct Reference

MSQueue default type traits. More...

#include <cds/container/msqueue.h>

Public Types

enum  { padding = opt::cache_line_padding }
 Padding for internal critical atomic data. Default is opt::cache_line_padding.
 
typedef CDS_DEFAULT_ALLOCATOR allocator
 Node allocator.
 
typedef cds::backoff::empty back_off
 Back-off strategy.
 
typedef atomicity::empty_item_counter item_counter
 Item counting feature; by default, disabled. Use cds::atomicity::item_counter to enable item counting.
 
typedef msqueue::empty_stat stat
 Internal statistics (by default, disabled) More...
 
typedef opt::v::relaxed_ordering memory_model
 C++ memory ordering model. More...
 

Detailed Description

MSQueue default type traits.

Member Typedef Documentation

◆ 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).

◆ stat

Internal statistics (by default, disabled)

Possible option value are: msqueue::stat, msqueue::empty_stat (the default), user-provided class that supports msqueue::stat interface.


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:33 by Doxygen 1.8.13