#include <mpmc_blocking_q.h>
Public Types | |
using | item_type = T |
Public Member Functions | |
mpmc_blocking_queue (size_t max_items) | |
void | enqueue (T &&item) |
void | enqueue_nowait (T &&item) |
bool | dequeue_for (T &popped_item, std::chrono::milliseconds wait_duration) |
size_t | overrun_counter () |
Private Attributes | |
std::mutex | queue_mutex_ |
std::condition_variable | push_cv_ |
std::condition_variable | pop_cv_ |
spdlog::details::circular_q< T > | q_ |
Definition at line 24 of file mpmc_blocking_q.h.
using spdlog::details::mpmc_blocking_queue< T >::item_type = T |
Definition at line 27 of file mpmc_blocking_q.h.
|
inlineexplicit |
Definition at line 28 of file mpmc_blocking_q.h.
|
inline |
Definition at line 57 of file mpmc_blocking_q.h.
|
inline |
Definition at line 35 of file mpmc_blocking_q.h.
|
inline |
Definition at line 46 of file mpmc_blocking_q.h.
|
inline |
Definition at line 108 of file mpmc_blocking_q.h.
|
private |
Definition at line 117 of file mpmc_blocking_q.h.
|
private |
Definition at line 116 of file mpmc_blocking_q.h.
|
private |
Definition at line 118 of file mpmc_blocking_q.h.
|
private |
Definition at line 115 of file mpmc_blocking_q.h.