cds
2.3.2
|
Metafunction converting option list to rwqueue::traits
.
More...
#include <cds/container/rwqueue.h>
Public Types | |
typedef implementation_defined | type |
Metafunction result. | |
Metafunction converting option list to rwqueue::traits
.
Supported Options
are:
cds::sync::spin
. Any type satisfied Mutex
C++ concept may be used.std::allocator
) used for allocating queue nodes. Default is CDS_DEFAULT_ALLOCATORcds::atomicity::empty_item_counter
(item counting disabled) To enable item counting use cds::atomicity::item_counter
.opt::padding
- padding for internal critical data. Default is opt::cache_line_padding
Example: declare mutex-based RWQueue
with item counting