7 max_event_size_(max_event_size),max_queue_depth_(max_queue_depth),
8 pos_(max_queue_depth-1),mem_(max_event_size * max_queue_depth),
10 queue_(max_queue_depth),
boost::condition pop_cond_
void releaseConsumerBuffer(void *)
Buffer getProducerBuffer()
void releaseProducerBuffer(void *)
boost::condition push_cond_
void commitProducerBuffer(void *, int)
boost::condition pool_cond_
void commitConsumerBuffer(void *, int)
Buffer getConsumerBuffer()
SingleConsumerQ(int max_event_size, int max_queue_depth)