cds
2.3.2
|
MSPriorityQueue traits. More...
#include <cds/intrusive/mspriority_queue.h>
Public Types | |
typedef opt::v::initialized_dynamic_buffer< void * > | buffer |
Storage type. More... | |
typedef opt::none | compare |
Priority compare functor. More... | |
typedef opt::none | less |
Specifies binary predicate used for priority comparing. More... | |
typedef cds::sync::spin | lock_type |
Type of mutual-exclusion lock. The lock is not need to be recursive. | |
typedef backoff::Default | back_off |
Back-off strategy. | |
typedef empty_stat | stat |
Internal statistics. More... | |
MSPriorityQueue traits.
Storage type.
The storage type for the heap array. Default is cds::opt::v::initialized_dynamic_buffer
.
You may specify any type of buffer's value since at instantiation time the buffer::rebind
member metafunction is called to change type of values stored in the buffer.
Priority compare functor.
No default functor is provided. If the option is not specified, the less
is used.
Specifies binary predicate used for priority comparing.
Default is std::less<T>
.
Internal statistics.
Possible types: mspriority_queue::empty_stat
(the default, no overhead), mspriority_queue::stat
or any other with interface like mspriority_queue::stat