6 : max_event_size_(max_event_size),
7 max_queue_depth_(max_queue_depth),
8 pos_(max_queue_depth - 1),
9 mem_(max_event_size * max_queue_depth),
11 queue_(max_queue_depth),
std::condition_variable pop_cond_
void releaseConsumerBuffer(void *)
Buffer getProducerBuffer()
void releaseProducerBuffer(void *)
std::condition_variable pool_cond_
std::condition_variable push_cond_
void commitProducerBuffer(void *, int)
void commitConsumerBuffer(void *, int)
Buffer getConsumerBuffer()
SingleConsumerQ(int max_event_size, int max_queue_depth)