Class lockfree::circular_queue¶
template <class T>
ClassList > lockfree > circular_queue
#include <lockfree_circular_queue.hpp>
Public Types¶
| Type | Name |
|---|---|
| typedef std::atomic< cursor_type > | atomic_cursor_type |
| typedef atomic_cursor_type | atomic_flag_type |
| typedef std::uint64_t | cursor_type |
| typedef T | data_type |
Public Functions¶
| Type | Name |
|---|---|
| circular_queue (std::size_t size) |
|
| bool | consume (T & element) |
| void | force_produce (const T & element) |
| std::uint64_t | get_consumer_cursor () |
| bool | is_empty () const |
| bool | is_full () const |
| bool | is_half_full () |
| bool | produce (const T & element) |
| std::size_t | size () |
| ~circular_queue () |
Public Types Documentation¶
typedef atomic_cursor_type¶
typedef atomic_flag_type¶
typedef cursor_type¶
typedef data_type¶
Public Functions Documentation¶
function circular_queue [1/3]¶
function consume¶
function force_produce¶
function get_consumer_cursor¶
function is_empty¶
function is_full¶
function is_half_full¶
function produce¶
function size¶
function ~circular_queue¶
The documentation for this class was generated from the following file cubrid/src/base/lockfree_circular_queue.hpp