Class parallel_query::thread_safe_queue¶
template <typename T>
ClassList > parallel_query > thread_safe_queue
#include <px_thread_safe_queue.hpp>
Public Functions¶
| Type | Name |
|---|---|
| std::size_t | capacity () const |
| bool | is_empty () const |
| bool | is_full () const |
| bool | pop (T & value, const interrupt & interrupt_check=interrupt()) |
| void | push (const T & value, const interrupt & interrupt_check=interrupt()) |
| void | push_last () |
| void | reset_queue () |
| std::size_t | size () const |
| thread_safe_queue (std::size_t capacity=1024) |
|
| bool | try_pop (T & value) |
| bool | try_push (const T & value) |
| ~thread_safe_queue () |
Public Functions Documentation¶
function capacity¶
function is_empty¶
function is_full¶
function pop¶
bool parallel_query::thread_safe_queue::pop (
T & value,
const interrupt & interrupt_check=interrupt ()
)
function push¶
void parallel_query::thread_safe_queue::push (
const T & value,
const interrupt & interrupt_check=interrupt ()
)
function push_last¶
function reset_queue¶
function size¶
function thread_safe_queue¶
function try_pop¶
function try_push¶
function ~thread_safe_queue¶
The documentation for this class was generated from the following file cubrid/src/query/parallel/px_thread_safe_queue.hpp